No executable found matching command dotnet-projectmodel-server

后端 未结 9 2175
栀梦
栀梦 2020-12-05 04:26

I\'m getting this error when opening .NET Core projetcs in VS 2015 Community:

The following error ocurred attempting to run the project model server

9条回答
  •  萌比男神i
    2020-12-05 04:37

    I has that problem after installing visual studio 2017, I just created a global.json file with this configuration:

    {
      "projects": [ "src", "test" ],
      "sdk": {
        "version": "1.0.0-xxxxx"
      }
    }
    

    To know which version you are possibly using, open your console and go to C:\Program Files\dotnet\sdk> then execute a simple dir command, that will list the folders of the different dot net core versions you may have on your system, try one by one and select the version that works for you.

    BTW: it worked for me to place the global.json in the project root, not the solution.

提交回复
热议问题