After installing standalone RC3 binaries, VS2015 compilation fails
See original GitHub issueSteps to reproduce
- Have a working VS2015 + .NET Core.
- Install RC3 standalone (https://github.com/dotnet/core/blob/master/release-notes/rc3-download.md).
- Compile project that worked fine before, be greeted with errors.
Expected behavior
Succesful compilation.
Actual behavior
Compile error:
Error MSB4019 The imported project "C:\Program Files\dotnet\sdk\1.0.0-rc3-004530\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
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Visual Studio can't build due to rc.exe
I ran into this problem while installing PYANGBIND and solved it by copying rc and rcdll from C:\Program Files (x86)\Windows Kits\10\bin\10.0.
Read more >Compilation problem with VS2015 using Intel Compiler #209
Hi! I have no issues compiling with the visual studio compiler, but when i build the project using this: "C:\Program Files\CMake\bin\cmake.exe" ...
Read more >Error - This update requires Visual Studio 2015 Update 3 to ...
Resolves an error that occurs because a required Cumulative Update (KB3165756) to Visual Studio 2015 is missing.
Read more >Release notes | WiX Toolset
WiX v4.0.1 is a maintenance release of WiX v4 that fixes a number of annoyances and more serious bugs that escaped detection in...
Read more >Could not be compiled. Try rebuilding from source manually.
"Could not be compiled. Try rebuilding from source manually." · Close Unreal and Visual Studio · Delete the following folders: Binaries, Build, Intermediate, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No VS2017; VS2015 + latest (RC2) tooling installed: project compiles. Same environment, RC3 standalone tooling installed: project does not compile (error same as in issue opening post)
Adding
global.json
indeed fixes the issue (https://github.com/maartenba/CamoDotNet) - I guess this issue can be closed.Glad the global.json helped. This issue is likely the biggest pain point we’ve faced in the project.json->csproj migration to date. Unfortunately by the time the CLI figures out that another version is needed for working with a project.json-style project… a later version is already loaded and it’s too late.