-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
39 lines (34 loc) · 1.13 KB
/
Directory.Build.targets
File metadata and controls
39 lines (34 loc) · 1.13 KB
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
35
36
37
38
39
<Project>
<ItemGroup>
<Compile Remove="TestResults\**" />
<EmbeddedResource Remove="TestResults\**" />
<None Remove="TestResults\**" />
</ItemGroup>
<Choose>
<When Condition="$(MSBuildProjectName.Contains('Core'))">
<ItemGroup>
<Compile Update="**\*.cs">
<DependentUpon>$([System.String]::Copy(I%(Filename).cs).Replace('Cached',''))</DependentUpon>
</Compile>
<None Update="Settings\GuestOsStringMapping.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<DependentUpon>IGuestOsStringMapping.cs</DependentUpon>
</None>
<None Update="Settings\VmPools.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<DependentUpon>IVmPools.cs</DependentUpon>
</None>
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<Compile Update="ViewModels\*.cs">
<DependentUpon>$([System.String]::Copy(I%(Filename).cs).Replace('Cached',''))</DependentUpon>
</Compile>
<Compile Update="ViewModels\*\*.cs">
<DependentUpon>$([System.String]::Copy(I%(Filename).cs).Replace('Cached',''))</DependentUpon>
</Compile>
</ItemGroup>
</Otherwise>
</Choose>
</Project>