-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDirectory.Build.props
57 lines (50 loc) · 1.85 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<Project>
<!-- Common Properties -->
<PropertyGroup>
<RootDirectory>$(MSBuildThisFileDirectory)</RootDirectory>
<SrcDirectory>$(RootDirectory)src/</SrcDirectory>
<TestsDirectory>$(RootDirectory)tests/</TestsDirectory>
</PropertyGroup>
<!-- Assembly -->
<PropertyGroup>
<Copyright>Copyright © 2024 William Sugarman.</Copyright>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<Product>Durable Task KEDA External Scaler</Product>
</PropertyGroup>
<!-- Build -->
<PropertyGroup>
<Deterministic>true</Deterministic>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>latest</LangVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<Nullable>enable</Nullable>
<TargetFramework>net9.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
</PropertyGroup>
<!-- Code Analyzers -->
<PropertyGroup>
<AnalysisLevel>latest-All</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<SkipDefaultEditorConfigAsAdditionalFile>true</SkipDefaultEditorConfigAsAdditionalFile>
</PropertyGroup>
<!-- Dynamic Assembly Info -->
<ItemGroup>
<AssemblyAttribute Include="System.CLSCompliantAttribute">
<_Parameter1>false</_Parameter1>
<_Parameter1_TypeName>System.Boolean</_Parameter1_TypeName>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Resources.NeutralResourcesLanguage">
<_Parameter1>en</_Parameter1>
<_Parameter1_TypeName>System.String</_Parameter1_TypeName>
</AssemblyAttribute>
</ItemGroup>
<!-- Test Warnings -->
<Choose>
<When Condition="$(MSBuildProjectName.Contains('.Test'))">
<PropertyGroup>
<NoWarn>$(NoWarn);CA1707;CA2007;CS1591</NoWarn>
</PropertyGroup>
</When>
</Choose>
</Project>