-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
40 lines (32 loc) · 1.48 KB
/
Directory.Build.props
File metadata and controls
40 lines (32 loc) · 1.48 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>
<!-- Enable Central Package Management -->
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<!-- Common .NET SDK Properties -->
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Disable CA1303 for console utilities -->
<NoWarn>$(NoWarn);CA1303</NoWarn>
<!-- Analyzer Settings -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningLevel>5</WarningLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisMode>All</AnalysisMode>
<AnalysisLevel>latest-all</AnalysisLevel>
<!-- Enable .NET Analyzers -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<!-- Report analyzer issues in build output -->
<ReportAnalyzer>true</ReportAnalyzer>
<!-- Fail build on analyzer warnings since TreatWarningsAsErrors is true -->
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<!-- Use local packages directory instead of global cache -->
<RestorePackagesPath>$(MSBuildThisFileDirectory)LocalNuGetCache</RestorePackagesPath>
<!-- Shared Package Metadata -->
<Version>1.0.0-beta.13</Version>
<Authors>Steven T. Cramer</Authors>
<RepositoryUrl>https://github.com/TimeWarpEngineering/timewarp-multiavatar</RepositoryUrl>
<PackageLicenseExpression>Unlicense</PackageLicenseExpression>
</PropertyGroup>
</Project>