-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathDirectory.Build.targets
34 lines (30 loc) · 1.57 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!--Work around WinUI assumption that client requires building PRI, etc -->
<MsAppxPackageTargets>$(MSBuildProjectDirectory)/DoNotImport_MsAppxPackageTargets.targets</MsAppxPackageTargets>
<PrepareForRunDependsOn>CopyTestAssets;$(PrepareForRunDependsOn)</PrepareForRunDependsOn>
</PropertyGroup>
<!--Rename host/test dlls for various tests (requires disabling hardlinks)-->
<Target Name="CopyTestAssets">
<Copy SourceFiles="
$(BuildOutDir)WinRT.Host\bin\WinRT.Host.dll.mui;
$(BuildOutDir)WinRT.Host\bin\WinRT.Host.dll;
$(BuildOutDir)WinRT.Host\bin\WinRT.Host.dll;
$(BuildOutDir)WinRT.Host\bin\WinRT.Host.dll;
$(BuildOutDir)WinRT.Host\bin\WinRT.Host.dll;
$(BuildOutDir)WinRT.Host\bin\WinRT.Host.dll;
$(BuildOutDir)WinRT.Host\bin\WinRT.Host.dll;
$(BuildOutDir)WinRT.Host\bin\WinRT.Host.dll"
DestinationFiles="
$(OutDir)WinRT.Host.dll.mui;
$(OutDir)WinRT.Host.dll;
$(OutDir)Test.Host.dll;
$(OutDir)MappedTarget.Host.dll;
$(OutDir)ClassNotFound.Host.dll;
$(OutDir)BadMappedTarget.Host.dll;
$(OutDir)NoRuntimeConfig.Host.dll;
$(OutDir)RuntimeNotFound.Host.dll"
UseHardlinksIfPossible="false" SkipUnchangedFiles="true" />
</Target>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.targets', '$(MSBuildThisFileDirectory)../'))" />
</Project>