-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
47 lines (44 loc) · 2.21 KB
/
Directory.Build.props
File metadata and controls
47 lines (44 loc) · 2.21 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>
<PropertyGroup>
<Configurations>Debug;Release</Configurations>
<Platform>AnAnyCPU</Platform>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
<EmbeddedResourceUseDependentUponConvention>true</EmbeddedResourceUseDependentUponConvention>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<PropertyGroup>
<Version>0.99.3-preview.4</Version>
<Company>David Makovský</Company>
<Copyright>Copyright © 2024-$([System.DateTime]::Now.ToString(yyyy)) David Makovský</Copyright>
<Authors>David Makovský</Authors>
</PropertyGroup>
<!-- Code quality -->
<PropertyGroup>
<Nullable>enable</Nullable>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<Deterministic>false</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<!-- Add SourceLink info when running on CI pipeline -->
<PropertyGroup Condition=" '$(CI)' != '' ">
<!-- Enables deterministic build -->
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Embed symbols containing Source Link in the main file (exe/dll) -->
<DebugType>full</DebugType>
</PropertyGroup>
<ItemGroup Condition=" '$(CI)' != '' ">
<!-- PackageReference specific to GitLab repositories when running on GitLab pipeline -->
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All"/>
</ItemGroup>
</Project>