-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
40 lines (33 loc) · 1.58 KB
/
Directory.Build.props
File metadata and controls
40 lines (33 loc) · 1.58 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
<Project>
<PropertyGroup>
<!-- Common project settings -->
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<!-- Version properties - can be overridden via MSBuild properties -->
<!-- Default values for local development -->
<VersionPrefix>1.0.0</VersionPrefix>
<VersionSuffix Condition="'$(VersionSuffix)' == ''">local</VersionSuffix>
<!-- Build number for CI - defaults to 0 for local builds -->
<BuildNumber Condition="'$(BuildNumber)' == ''">1</BuildNumber>
<!-- Assembly versioning -->
<AssemblyVersion>1.0.$(BuildNumber).0</AssemblyVersion>
<FileVersion>1.0.$(BuildNumber).0</FileVersion>
<InformationalVersion>1.0.$(BuildNumber)</InformationalVersion>
<!-- Treat warnings as errors in Release -->
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<!-- Deterministic builds for reproducibility -->
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<!-- Source Link for debugging -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<PropertyGroup Condition="'$(CI)' == 'true'">
<!-- Ensure reproducible builds in CI -->
<Deterministic>true</Deterministic>
</PropertyGroup>
</Project>