Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017: The SDK resolver type "DotNetMSBuildSdkResolver" failed to load

I've just upgraded Visual Studio Community 2017 to the latest version (15.9.2). I tried creating a new ASP.NET Core Web Application project. Although the project files got created ok, the project won't load into the Visual Studio Solution Explorer - when I try to load the project, VS shows the following message:

The SDK resolver type "DotNetMSBuildSdkResolver" failed to load. The type initializer for 'Microsoft.DotNet.MSBuildSdkResolver.VSSettings' threw an exception.

I have .NET Core SDK 2.1.500 installed.

Any ideas why this is happening? Unfortunately this is preventing me from working with this project.

(By the way - creating a ASP.NET Web Application (.NET Framework) (i.e. NOT core) works fine.

like image 643
Mat S Avatar asked Nov 22 '18 16:11

Mat S


1 Answers

I had to install the 32bit version of the .net core sdk. Then the project loaded fine.

like image 132
Niederee Avatar answered Oct 20 '22 04:10

Niederee