Co-authored-by: Eric StJohn <ericstj@microsoft.com>
</PropertyGroup>
<ItemGroup>
- <!-- Requires Private=true to calculate ReferenceCopyLocalPaths items. -->
- <ProjectReference Include="@(WindowsDesktopCoreAppLibrary->'$(LibrariesProjectRoot)%(Identity)\src\%(Identity).csproj')" PrivateAssets="all" Pack="true" Private="true" IncludeReferenceAssemblyInPackage="true" />
+ <!-- Requires Private=true to calculate ReferenceCopyLocalPaths items.
+ ReferringTargetFramework is set to $(NetCoreAppCurrent)-windows so that we pack the Windows specific implementation assemblies -->
+ <ProjectReference Include="@(WindowsDesktopCoreAppLibrary->'$(LibrariesProjectRoot)%(Identity)\src\%(Identity).csproj')" ReferringTargetFramework="$(NetCoreAppCurrent)-windows" PrivateAssets="all" Pack="true" Private="true" IncludeReferenceAssemblyInPackage="true" />
</ItemGroup>
</Project>