VS 2017 - error after installation

From Logic Wiki
Jump to: navigation, search

Error

The following error occured attempting to run the project model server process (1.0.0). Unable to start the process. No executable found matching command dotnet-projectmodel-server

Solution

The problem here is that the project does not have global.json pinning the SDK version. When the customer installed VS2017, a higher version of the CLI (preview3) was installed and when the customer starts VS2015, the host always picks the latest CLI (unless an specific version is specified). Now, preview3 no longer support projectmodel-server. The fix here is to either migrate to csproj and use VS 2017 or add a sdk version to his global.json pointing to the preview2 build.


{
  "projects": [],
  "sdk": {
    "version": "1.0.0-preview2-003131"
  }
}