-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
45 lines (38 loc) · 1.56 KB
/
Directory.Build.targets
File metadata and controls
45 lines (38 loc) · 1.56 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
40
41
42
43
44
45
<Project>
<!-- Additional build customizations -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<!-- Release optimizations -->
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
<Optimize>true</Optimize>
<!-- AOT optimizations for Release -->
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<!-- Debug settings -->
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<!-- AOT debugging support -->
<IlcGenerateStackTraceData>true</IlcGenerateStackTraceData>
</PropertyGroup>
<!-- Code analysis rules -->
<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest-all</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ReportAnalyzer>true</ReportAnalyzer>
</PropertyGroup>
<!-- Performance settings for runtime -->
<PropertyGroup>
<TieredCompilation>true</TieredCompilation>
<TieredCompilationQuickJit>true</TieredCompilationQuickJit>
<TieredCompilationQuickJitForLoops>true</TieredCompilationQuickJitForLoops>
</PropertyGroup>
<!-- Ensure unsafe blocks are allowed where needed -->
<PropertyGroup Condition="'$(MSBuildProjectName)' != 'DotCompute.Abstractions'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
</Project>