зеркало из https://github.com/microsoft/wslg.git
Cleanup `.targets` filel to copy WSLg files to output directory (#318)
This commit is contained in:
Родитель
727c60fcdf
Коммит
a23cf33095
|
@ -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>
|
Загрузка…
Ссылка в новой задаче