-
Notifications
You must be signed in to change notification settings - Fork 369
/
Test.csproj
40 lines (33 loc) · 1.17 KB
/
Test.csproj
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 Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
<ItemGroup>
<None Include="Foo1.cs" Condition="'$(defaultTrue)' == 'true'" />
<!--#if (defaultTrue) -->
<None Include="Foo2.cs" />
<!--#endif -->
<None Include="Foo3.cs" Condition="'$(defaultFalse)' == 'true'" />
<!--#if (defaultFalse) -->
<None Include="Foo4.cs" />
<!--#endif -->
<!--/-:msbuild-conditional:noEmit -->
<None Include="Foo5.cs" Condition="'$(defaultFalse)' == 'true'" />
<!--/+:msbuild-conditional:noEmit -->
<None Include="Foo5.1.cs" Condition="'$(defaultTrue)' == 'true'" />
<!-- Without noEmit the following line will be emitted -->
<!--/-:msbuild-conditional -->
<None Include="Foo5.2.cs" Condition="'$(defaultFalse)' == 'true'" />
<!--/+:msbuild-conditional -->
<None Include="Foo5.3.cs" Condition="'$(defaultTrue)' == 'true'" />
<!--/-:cnd:noEmit -->
<!--#if (defaultFalse) -->
<None Include="Foo6.cs" />
<!--#endif -->
<!--/+:cnd:noEmit -->
<!--#if (defaultTrue) -->
<None Include="Foo6.6.cs" />
<!--#endif -->
<None Include="Things" />
</ItemGroup>
</Project>