Cleanup `.targets` filel to copy WSLg files to output directory (#318)

This commit is contained in:
Vinicius Jarina 2021-06-23 10:58:08 -07:00 коммит произвёл GitHub
Родитель 727c60fcdf
Коммит a23cf33095
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 12 добавлений и 12 удалений

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

@ -5,18 +5,18 @@ Copyright (C) Microsoft Corporation. All rights reserved.
***********************************************************************************************
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WslgBinDirectory>$(MSBuildThisFileDirectory)native\bin\$(Platform)</WslgBinDirectory>
<WslgBinDirectory2>$(MSBuildThisFileDirectory)native\bin</WslgBinDirectory2>
</PropertyGroup>
<ItemGroup>
<WslgFile Include="$(WslgBinDirectory)\system.vhd"/>
<WslgFile Include="$(WslgBinDirectory)\WSLDVCPlugin.dll"/>
<WslgFile Include="$(WslgBinDirectory2)\wslg.rdp"/>
<None Include="$(MSBuildThisFileDirectory)native\bin\$(Platform)\system.vhd">
<Link>system.vhd</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)native\bin\$(Platform)\WSLDVCPlugin.dll">
<Link>WSLDVCPlugin.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)native\bin\wslg.rdp">
<Link>wslg.rdp</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="WslCopyFiles" AfterTargets="CopyFilesToOutputDirectory">
<Copy SourceFiles="@(WslgFile)" DestinationFolder="$(OutDir)"/>
</Target>
</Project>