Building with sdk 1.0.0 RC4 fails
See original GitHub issueSteps to reproduce
Open any solution with core projects in VS 2015. SDK dotnet-dev-win-x64.1.0.0-rc4-004771.exe
and tooling DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe
.
Expected behavior
Solution opened and built.
Actual behavior
Getting error (message box VS 2015 Update 3):
The following error occurred attempting to run the project model server process (1.0.0-rc4-004771). Unable to start the process. No executable found matching command “dotnet-projectmodel-server”
dotnet restore
print error:
error MSB4019: The imported project “C:\Program Files\dotnet\sdk\1.0.0-rc4-004771\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props” was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
xproj file has lines:
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
and
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
Directory C:\Program Files\dotnet\sdk\1.0.0-rc4-004771
exists, subdir \Microsoft
doesnt.
Environment data
dotnet --info
output:
.NET Command Line Tools (1.0.0-rc4-004771)
Product Information:
Version: 1.0.0-rc4-004771
Commit SHA-1 hash: d881d45b75
Runtime Environment:
OS Name: Windows
OS Version: 6.3.9600
OS Platform: Windows
RID: win81-x64
Base Path: C:\Program Files\dotnet\sdk\1.0.0-rc4-004771
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
None of the above solutions worked for me. I had to uninstall 1.0.0-rc4-004771 and repair the other version of .net core to make it work.
So does this mean we cannot use the VS 2015 with dotnet-dev-win-x64.1.0.0-rc4-004771.exe and tooling DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe ??
And have to change the global.json entry to
“sdk”: { “version”: “1.0.0-preview2-1-003177” }
??? Is that the only way possible as of now?