Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
47 lines (39 loc) · 1.45 KB
/
Copy pathDirectory.Build.props
File metadata and controls
47 lines (39 loc) · 1.45 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
<Project>
<!-- Artifacts output layout -->
<PropertyGroup>
<ArtifactsPath>$(MSBuildThisFileDirectory).artifacts</ArtifactsPath>
</PropertyGroup>
<!-- Shared metadata -->
<PropertyGroup>
<Company>Deck.Dev</Company>
<Authors>Deck</Authors>
<Copyright>Copyright © Deck.Dev $([System.DateTime]::Now.Year)</Copyright>
</PropertyGroup>
<!-- Automatic namespace and assembly naming: ProjectName -> Deck.Dev.ProjectName -->
<PropertyGroup>
<RootNamespace>$(Company).$(MSBuildProjectName)</RootNamespace>
<AssemblyName>$(Company).$(MSBuildProjectName)</AssemblyName>
</PropertyGroup>
<!-- Default target framework -->
<PropertyGroup>
<TargetFramework Condition="'$(TargetFramework)' == ''">net8.0</TargetFramework>
</PropertyGroup>
<!-- Language and build settings -->
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<!-- Deterministic builds for reproducibility -->
<PropertyGroup>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<!-- Enable Central Package Management -->
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
</Project>