forked from nilaoda/WVCore.Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
27 lines (22 loc) · 1.06 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<IlcTrimMetadata>false</IlcTrimMetadata>
<StaticallyLinked Condition="$(RuntimeIdentifier.StartsWith('win'))">true</StaticallyLinked>
<TrimMode>Link</TrimMode>
<TrimmerDefaultAction>link</TrimmerDefaultAction>
<PublishAot>true</PublishAot>
<ObjCopyName Condition="'$(RuntimeIdentifier)' == 'linux-arm64'">aarch64-linux-gnu-objcopy</ObjCopyName>
</PropertyGroup>
<ItemGroup Condition="'$(PublishAot)' == 'true' and '$(RuntimeIdentifier)' != 'win-arm64' and '$(RuntimeIdentifier)' != 'linux-arm64'">
<PackageReference Include="PublishAotCompressed" Version="0.0.4" />
</ItemGroup>
<ItemGroup>
<!-- Do not generate partial metadata for types - always include all members even if they're unused -->
<IlcArg Include="--completetypemetadata" />
<!-- Generate extra data to make stack traces nicer -->
<IlcArg Include="--stacktracedata" />
<RdXmlFile Include="rd.xml" />
</ItemGroup>
</Project>