[Solved] Your project is not referencing the ".NETFramework,Version=v4.6.1" framework. Add a reference to ".NETFramework,Version=v4.6.1" in the "frameworks" section of your project.json, and then re-run NuGet restore

Severity Code Description Project File Line Suppression State
Error Your project is not referencing the ".NETFramework,Version=v4.6.1" framework. Add a reference to ".NETFramework,Version=v4.6.1" in the "frameworks" section of your project.json, and then re-run NuGet restore.


Visual Studio 2017 released on May 31, 2018 won't fix this issue.

To fix this: try a command
dotnet migrate 

reload solution

Comments