Error when opening a project with Visual Studio 2015 after installing Visual Studio 2017 RC : The following error occurred attempting to run the project model server process 1.0.0-preview4-004223

After installing Visual Studio 2017 RC, I couldn't open any ASP.NET Core project with Visual Studio 2015, projects I never opened with Visual Studio 2017. I had the error :

The following error occurred attempting to run the project model server process 1.0.0-preview4-004223

If you have a global.json file at the root of your solution, add the version of the .NETCORE SDK framework you want to use. If your solution doesn't have any global.json, add one at the root of the web application project and configure it to targeting a previous version of the .NET Core SDK. In my case, global.json looks like this :


{
  "sdk": {
    "version": "1.0.0-preview2-003131"
  }
}

Editing the global.json in my solution and relaunch Visual Studio 2015 solved the problem and all works fine again. If it's not the case for you, open the GitHub issue I link to, there is other solutions posted.

December 27, 2016
  • ASP.NET Core
  • ASP.NET Core Configuration