Fix by making cppwinrt a private dependency
Fixes
cppwinrt is a build-time dependency for WinObjC. The dependency should
not propagate to other projects that depend on WinObjC.
<ItemGroup>
<PackageReference Include="NuGet.Build.Packaging" Version="0.1.186" />
<PackageReference Include="WinObjC.Language" Version="*" />
- <PackageReference Include="cppwinrt" Version="*" />
+ <PackageReference Include="cppwinrt" Version="*">
+ <PrivateAssets>all</PrivateAssets>
+ </PackageReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
