-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.Targets
40 lines (34 loc) · 1.03 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
35
36
37
38
39
40
<Project>
<Choose>
<When Condition="$(MSBuildProjectName.Contains('Wpf'))">
<PropertyGroup>
<TargetFrameworks>net8.0-windows</TargetFrameworks>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
</PropertyGroup>
</Otherwise>
</Choose>
<ItemGroup>
<Compile Remove="TestResults\**" />
<EmbeddedResource Remove="TestResults\**" />
<None Remove="TestResults\**" />
</ItemGroup>
<!--<ItemGroup>
<Compile Update="**\*.cs">
<DependentUpon>$([System.String]::Copy(I%(Filename).cs).Replace('Cached',''))</DependentUpon>
</Compile>
</ItemGroup>-->
<ItemGroup Condition="$(MSBuildProjectName.Contains('Core'))">
<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>
</Project>