Don't copy native files if asked not to do so

This commit is contained in:
Matthew Leibowitz 2018-05-10 16:18:57 +02:00
Родитель 7576a8714f
Коммит b481d3821f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 3650EBE4AA155AF9
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -29,7 +29,7 @@
<PreferredLinuxNativeHarfBuzzSharpPath>$(MSBuildThisFileDirectory)..\..\runtimes\linux-$(PreferredNativeHarfBuzzSharp)\native\libHarfBuzzSharp.so</PreferredLinuxNativeHarfBuzzSharpPath>
</PropertyGroup>
<ItemGroup>
<ItemGroup Condition=" '$(ShouldIncludeNativeHarfBuzzSharp)' != 'False' ">
<None Include="$(PreferredWindowsNativeHarfBuzzSharpPath)" Condition=" Exists('$(PreferredWindowsNativeHarfBuzzSharpPath)') ">
<Link>$([System.IO.Path]::GetFilename('$(PreferredWindowsNativeHarfBuzzSharpPath)'))</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

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

@ -29,7 +29,7 @@
<PreferredLinuxNativeSkiaSharpPath>$(MSBuildThisFileDirectory)..\..\runtimes\linux-$(PreferredNativeSkiaSharp)\native\libSkiaSharp.so</PreferredLinuxNativeSkiaSharpPath>
</PropertyGroup>
<ItemGroup>
<ItemGroup Condition=" '$(ShouldIncludeNativeSkiaSharp)' != 'False' ">
<None Include="$(PreferredWindowsNativeSkiaSharpPath)" Condition=" Exists('$(PreferredWindowsNativeSkiaSharpPath)') ">
<Link>$([System.IO.Path]::GetFilename('$(PreferredWindowsNativeSkiaSharpPath)'))</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>