I have some error while loading the .net project solution. the error will be like
The imported project "C:\Program Files(x86)\MSBuild\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 exist on disk.
How to solve this problem?
Although this question has already been answered. I recently came across the same issue. The more specific answer is that you need to install the Visual Studio 2015 Tools (Preview 2)
:
https://www.microsoft.com/net/download/core
Direct Download:
https://go.microsoft.com/fwlink/?LinkId=827546
Because this wasn't straight forward and I was working on a 1.1 dotnet core project, I accidentally skipped this step and only installed the Windows SDK
. I reported an issue here:
https://github.com/dotnet/core/issues/378
You need to install Microsoft .NET Core 1.0.1 tooling preview (the current one is Preview 2).
If you've recently installed VS 2017 and you get this error and your project was using project.json, it's probably that you have to upgrade your solution to csproj rather than the old project.json format. If you open the project in vs2017 it should upgrade it automatically. Check out this article if you need more info Project-json to csproj
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With