A netcoreapp2.1 target binary can't have a build-only depenency on a netcoreapp3.0 dependency, but should be able to
jhudsoncedaron opened this issue · 1 comments
jhudsoncedaron commented
We have:
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</ProperyGroup>
<ItemGroup>
<ProjectReference Include="..\CreateAssemblyInfo\CreateAssemblyInfo.csproj" Properties="RuntimeIdentifier=">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
The netcoreapp3.0 assembly is a tooling dependency. This reference is actually fine and everything would work if the check were knocked out.
jhudsoncedaron commented
My that was inane. Need <SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
which appears to be undocumented.