I generated a simple WebAPI using the aspnet yoeman generator and wanted to change the framework to run on 4.6.1 instead of netcoreapp1.0.
I removed the Microsoft.NETCore.App dependency.
dotnet restore then dotnet build and it says "error DOTNET1011: Framework not installed: .NETFramework,Version=v4.6.2 in" (The framework is installed, I get the result on 2 different machines)
What do I need to do to run on 4.6.2.
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"portable-net45+win8"
]
}
},
"frameworks": {
"net462": {
"imports": [
"dotnet5.6",
"portable-net45+win8"
]
}
},