-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
52 lines (42 loc) · 1.84 KB
/
Copy pathDirectory.Build.props
File metadata and controls
52 lines (42 loc) · 1.84 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
<Project>
<!-- Common properties for all projects in the solution -->
<PropertyGroup>
<!-- Language version -->
<LangVersion>latest</LangVersion>
<!-- Nullable reference types -->
<Nullable>enable</Nullable>
<!-- Enable implicit usings for .NET 6+ -->
<ImplicitUsings>enable</ImplicitUsings>
<!-- Treat warnings as errors in Release builds -->
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<!-- Generate XML documentation -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Deterministic builds -->
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<!-- Code analysis -->
<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<!-- Package metadata - customize these for your solution -->
<PropertyGroup>
<Authors>Your Name or Organization</Authors>
<Company>Your Company</Company>
<Product>Your Product</Product>
<Copyright>Copyright © $(Company) $([System.DateTime]::Now.Year)</Copyright>
<!-- Versioning -->
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix Condition="'$(Configuration)' == 'Debug'">dev</VersionSuffix>
<!-- Repository info -->
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/yourusername/yourrepo</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Source link support for debugging -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
</Project>