-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
67 lines (53 loc) · 2.63 KB
/
Directory.Build.props
File metadata and controls
67 lines (53 loc) · 2.63 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<Project>
<!--
Directory.Build.props - Common project properties for Performance Problem Simulator
Applied automatically to all projects in this directory and subdirectories.
See: https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-your-build
-->
<PropertyGroup>
<!-- Multi-target .NET 8.0 and .NET 10.0 for diagnostics compatibility -->
<!-- .NET 8 disabled - uncomment to re-enable dual targeting:
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
-->
<TargetFrameworks>net10.0</TargetFrameworks>
<!-- Enable nullable reference types for defensive programming (Constitution Principle IV) -->
<Nullable>enable</Nullable>
<!-- Enable implicit global usings for cleaner code -->
<ImplicitUsings>enable</ImplicitUsings>
<!-- Treat warnings as errors in Release builds for code quality (Constitution Principle I) -->
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<!-- Enable latest C# language features (C# 12) -->
<LangVersion>latest</LangVersion>
<!-- Generate XML documentation for public APIs -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Suppress documentation warnings for non-public members -->
<NoWarn>$(NoWarn);CS1591</NoWarn>
<!-- Enable code analysis -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<!-- Debug symbol configuration for profiling and diagnostics -->
<PropertyGroup>
<!-- Generate portable PDB files for all configurations -->
<DebugType>portable</DebugType>
<!-- Always generate debug symbols, even in Release builds -->
<DebugSymbols>true</DebugSymbols>
<!-- Optional: Include source file paths in PDB for better debugging/profiling -->
<EmbedAllSources Condition="'$(Configuration)' == 'Release'">true</EmbedAllSources>
</PropertyGroup>
<!-- Common assembly information -->
<PropertyGroup>
<Authors>Performance Problem Simulator Team</Authors>
<Company>Azure App Service Demo</Company>
<Product>Performance Problem Simulator</Product>
<Description>An educational tool for demonstrating and diagnosing Azure App Service performance problems.</Description>
<Copyright>Copyright © 2026</Copyright>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<!-- Deterministic builds for reproducibility -->
<PropertyGroup>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>