<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472;netstandard2.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<PackageId>TestNuGetizer</PackageId>
<Description>Test Package</Description>
<PackOnBuild>True</PackOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NuGetizer" Version="*" />
</ItemGroup>
</Project>
Running build will result in a package that only contains netstandard2.0 libs.
Given a project:
Running build will result in a package that only contains netstandard2.0 libs.
Reported by @mauroa