In Visual Studio 2017, I go to the Package Manager to do a dotnet restore. Then I get an error message
error MSB4019: The imported project "C:\Program Files\dotnet\sdk\2.1.201\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" was not found.
I navigate to
C:\Program Files\dotnet\sdk\2.1.201\Microsoft
and the VisualStudio path is missing and hence the error message. How do I fix this?