-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
39 lines (35 loc) · 1.74 KB
/
Directory.Build.props
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
<!--
Copyright (c) Team CharLS.
SPDX-License-Identifier: BSD-3-Clause
-->
<Project>
<PropertyGroup>
<!-- General -->
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<LangVersion>latest</LangVersion><!-- Use the latest released C# language version -->
<Features>strict</Features>
<Platforms>AnyCPU</Platforms>
<Configurations>Debug;Release</Configurations>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ChecksumAlgorithm>SHA256</ChecksumAlgorithm> <!-- Use Sha256 for checksums in PDBs (default is SHA1) -->
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio><!-- Enable faster builds in Visual Studio 2022 17.5 and newer. -->
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<!-- Version information -->
<Version>0.4.0</Version>
<AssemblyVersion>0.4.0.0</AssemblyVersion>
<FileVersion>0.4.0.0</FileVersion>
<Copyright>Copyright 2024 Team CharLS</Copyright>
<!-- Build -->
<!-- Build to a folder outside the source folders, making it easier to clean. -->
<OutputPath>$(MSBuildThisFileDirectory)build\binaries\$(Configuration)\</OutputPath>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)build\intermediates\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<!-- Static Analysis -->
<AnalysisLevel>latest-All</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode><!-- Enable all CAxxx code quality rules -->
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
</Project>