-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
55 lines (44 loc) · 1.89 KB
/
Directory.Build.props
File metadata and controls
55 lines (44 loc) · 1.89 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
<Project>
<!--
Directory.Build.props
Shared build settings for all projects in the solution.
Applies Microsoft coding conventions, nullable safety, and analyzer rules.
-->
<PropertyGroup>
<!-- Target framework for all projects -->
<TargetFramework>net9.0</TargetFramework>
<!-- Enable nullable reference types -->
<Nullable>enable</Nullable>
<!-- Enable implicit using directives -->
<ImplicitUsings>enable</ImplicitUsings>
<!-- Use the latest available C# language features -->
<LangVersion>latest</LangVersion>
<!-- Treat all warnings as errors for consistent code quality -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Enable deterministic builds -->
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<!-- Enable source link for debugging -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Allow assembly attributes to be added -->
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<!-- Company & version info -->
<Company>TTS Fixer</Company>
<Authors>Snuggless</Authors>
<Version>1.0.0</Version>
<RepositoryUrl>https://github.com/your-org/your-repo</RepositoryUrl>
<PackageLicenseExpression>GNU 3.0</PackageLicenseExpression>
</PropertyGroup>
<!-- Common NuGet packages for all projects -->
<ItemGroup>
<!-- Static code analysis -->
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" PrivateAssets="All" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="All" />
</ItemGroup>
<!-- Analyzer configuration -->
<PropertyGroup>
<!-- StyleCop settings -->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
</PropertyGroup>
</Project>