Taking native dependencies change

This commit is contained in:
hmishra 2024-09-06 12:25:07 +05:30
Родитель e478e6980a
Коммит 5009e53aeb
1 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -9,12 +9,16 @@
<_PackagingNativePath Condition="'$(WpfRuntimeIdentifier)'=='win-x86' And '$(Configuration)' == 'Debug'">$(ArtifactsDir)packaging\$(Configuration)\Microsoft.DotNet.Wpf.GitHub.Debug</_PackagingNativePath>
</PropertyGroup>
<ItemGroup>
<!-- These exist to ensure that dependencies (esp. native ones) are binplaced with tests correctly -->
<None Include="$(_PackagingNativePath)\runtimes\$(WpfRuntimeIdentifier)\native\*.dll"
CopyToOutputDirectory="PreserveNewest"
Visible="False" />
</ItemGroup>
<Target Name="IncludeNativeDependencies"
BeforeTargets="AssignTargetPaths"
Returns="@(None)">
<ItemGroup>
<!-- These exist to ensure that dependencies (esp. native ones) are binplaced with tests correctly -->
<None Include="$(_PackagingNativePath)\runtimes\$(WpfRuntimeIdentifier)\native\*.dll"
CopyToOutputDirectory="PreserveNewest"
Visible="False" />
</ItemGroup>
</Target>
<Target Name="RemoveWindowsBaseNetCoreAppReference"
AfterTargets="ResolveTargetingPackAssets"