Arshath Shameer
Arshath Shameer

Reputation: 453

The following error occurred attempting to run the project model server process (1.0.0-rc4-004771)

Compilation error in Visual Studio 2015 when a new .NET Core 1 web app is created, if you have already installed Visual Studio 2017 RC.

enter image description here

enter image description here

Upvotes: 5

Views: 3737

Answers (2)

Arshath Shameer
Arshath Shameer

Reputation: 453

I found a link that fixes this issue very clearly and here is the link. https://chamindac.blogspot.com/2017/02/resolve-msb4019-imported-project.html

Upvotes: 8

Rune G
Rune G

Reputation: 1537

I had this problem too, it seems that for some reason the latest .NET Core tools (that is installed via Visual Studio 2017) isn't compatible with Visual Studio 2015 and since it can't load the tools you get this message.

You can fix this in the global.json in your solution folder. Look for the "sdk" section and adjust the "version" to what you have installed on your computer. If you have done a default installation it would reside under %ProgramFiles%\dotnet\sdk.

For example I have a version called 1.0.0-preview.2-1-003180, so my global.json looks like this:

{
  "projects": [ "src" ],
  "sdk": { "version": "1.0.0-preview2-1-003180" }
}

Upvotes: 13

Related Questions