For ASP.NET Core I could target multiple frameworks (for example netcoreapp1.1
and dnx451
) in one Project.json:
"frameworks": {
"netcoreapp1.1": {
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.1.0",
"type": "platform"
}
},
"imports": [
"dotnet5.6",
"portable-net45+win8"
]
},
"dnx451": {}
},
In the final Version of Visual Studio 2017 I can only target either netcoreapp1.1
or dnx451
, but I see no way to target both.
I tried editing the csproj-file directly to add a 2nd Framework by Setting either <TargetFramework>netcoreapp1.1;dnx451</TargetFramework>
or even <TargetFrameworks>netcoreapp1.1;dnx451</TargetFrameworks>
but get Errors in Visual Studio due to unsupported frameworks.
So how Do I target both netcoreapp1.1
and dnx451
in one project in the final version of Visual Studio 2017?