After transferring one of my projects to a new model, this is what it generated:
<PropertyGroup> <TargetFramework>netcoreapp1.6</TargetFramework> <PreserveCompilationContext>true</PreserveCompilationContext> <AssemblyName>TestApp</AssemblyName> <OutputType>Exe</OutputType> <PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.6' ">$(PackageTargetFallback);dotnet5.6;portable-net45+win8</PackageTargetFallback> </PropertyGroup>
Try adding dnxcore50 and portable-net451 + win8 in the same way:
<PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>netcoreapp1.1</TargetFramework> <PreserveCompilationContext>true</PreserveCompilationContext> <PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">$(PackageTargetFallback);dnxcore50;portable-net451+win8</PackageTargetFallback> </PropertyGroup>
juunas
source share