I am creating a dotnetcore project using Microsoft.NETCore.App version 1.1.0. I tried updating to 1.1.1, but our project uses NUnit, which is not yet fully supported in 1.1.1. So I had to push it back. However, as part of the update, I had to install the .Net Core 1.1.1 application. After rolling back, I installed 1.1.0 again, and I still get the following error when creating:
Error MSB4019 The imported project "C:\Program Files\dotnet\sdk\1.0.1\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.
I looked at the file directory for all sdk versions that I installed, and none of them have this directory. This worked until my attempt to update this morning. I'm not sure why it still does not work after reinstalling the old version of .Net Core. This is a blocker for me, as it prevents me from creating and ending an API function. Any help is greatly appreciated.
Refresh . The obvious answer is to port the project to VS2017, but unfortunately this is not an option at the moment, as our project uses NUnit for testing, which is not yet fully supported in VS2017 and dotnetcore.
source
share