question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building with sdk 1.0.0 RC4 fails

See original GitHub issue

Steps 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:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
cosminpopescucommented, Feb 22, 2017

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.

1reaction
BharatRajMeriyalacommented, Feb 22, 2017

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

net core - dotnet restore error on simple yo project
Running on Fedorea 26 , I am building my first dotnet core asp application. Following this tutorial, when I try the command below...
Read more >
1.0.0-rc4-004771 Disappeared Creating a .Net Core project in ...
Error MSB4019 The imported project “C:\Program Files\dotnet\sdk\1.0.0-rc4-004771\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.
Read more >
Could not load file or assembly '. When building through ...
0-rc4-004777 This SDK is the only one installed. So I reckon this is a VS problem. Visual Studiowindows 10.0webvisual studio ...
Read more >
NETSDK1045: The current .NET SDK does not support ...
This error occurs when the build tools can't find the version of the .NET SDK that's needed to build a project. This is...
Read more >
The imported project "C:\Program Files\dotnet\sdk\1.0.0-rc4 ...
The following error occurred attempting to run the project model server process (1.0.0-rc4-004771). ... The project model server process provides ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found