Use full .NET Framework with existing ASP.NET Core project
.net, .net-core, asp.net-core
Solution
It should be enough to change your project.json by removing the `netcoreapp1.0` section inside `frameworks` and replacing it with `net4xy`, where x and y depend on the version of .Net Framework you want to target, e.g. `net461` for .Net 4.6.1.
For example, before:
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
}
},
"imports": "dnxcore50"
}
After:
"frameworks": {
"net461": {}
}
Problem
We have an ASP.NET Core web application currently running on .NET Core, which now needs to reference internal libraries which were built for and will only run on the full .NET Framework. As per the documentation: ASP.NET Core apps can run on .NET Core or on the full .NET Framework. ...What steps are needed to change an existing ASP.NET Core project to run on the full .NET Framework? I can't seem to find anything in the documentation or in the Visual Studio tooling to switch between .NET Core and the full .NET Framework.