-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
TrimmingBehaviors.csproj
58 lines (52 loc) · 2.09 KB
/
TrimmingBehaviors.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<CLRTestKind>BuildAndRun</CLRTestKind>
<CLRTestPriority>0</CLRTestPriority>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NullabilityInfoContextSupport>false</NullabilityInfoContextSupport>
<!-- We don't run the scanner in optimized builds -->
<CLRTestTargetUnsupported Condition="'$(IlcMultiModule)' == 'true'">true</CLRTestTargetUnsupported>
</PropertyGroup>
<ItemGroup>
<Compile Include="Dataflow.cs" />
<Compile Include="DeadCodeElimination.cs" />
<Compile Include="DependencyInjectionPattern.cs" />
<Compile Include="ILLinkDescriptor.cs" />
<Compile Include="ILLinkLinkAttributes.cs" />
<Compile Include="FeatureSwitches.cs" />
<Compile Include="Main.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="ILLink.LinkAttributes.xml">
<LogicalName>ILLink.LinkAttributes.xml</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="ILLink.Substitutions.xml">
<LogicalName>ILLink.Substitutions.xml</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="ILLink.Descriptors.xml">
<LogicalName>ILLink.Descriptors.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<TrimmerRootDescriptor Include="NonEmbedded.ILLink.Descriptor.xml" />
</ItemGroup>
<ItemGroup>
<IlcArg Include="--substitution:$(MSBuildThisFileDirectory)NonEmbedded.ILLink.Substitutions1.xml" />
<IlcArg Include="--substitution:$(MSBuildThisFileDirectory)NonEmbedded.ILLink.Substitutions2.xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Dataflow.cs">
<LogicalName>RemovedResource1</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="DeadCodeElimination.cs">
<LogicalName>RemovedResource2</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="FeatureSwitches.cs">
<LogicalName>RemovedResource3</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Main.cs">
<LogicalName>KeptResource</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>