-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
42 lines (36 loc) · 1.47 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
40
41
42
<Project>
<!-- General Properties -->
<PropertyGroup>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>11</LangVersion>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
<!-- XML Documentation -->
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<!-- Analyzer Properties -->
<PropertyGroup>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>All</AnalysisMode>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<!-- Global Packages -->
<ItemGroup>
<PackageReference Include="SonarAnalyzer.CSharp" Condition="$(MSBuildProjectExtension) == '.csproj'">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<!-- Assembly Metadata -->
<PropertyGroup>
<Authors>Alisa</Authors>
<Owners>Nibiru Research Center</Owners>
<Copyright>Copyright © 2023 Nibiru Research Center and all contributors</Copyright>
<RepositoryType>git</RepositoryType>
<NeutralLanguage>en-US</NeutralLanguage>
</PropertyGroup>
</Project>