-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
30 lines (26 loc) · 1.07 KB
/
Directory.Build.props
File metadata and controls
30 lines (26 loc) · 1.07 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
<Project>
<PropertyGroup>
<!-- C# 12 and .NET 8 -->
<TargetFramework>net8.0</TargetFramework>
<LangVersion>12.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Treat warnings as errors in release builds (suppress CA1062 null-check noise) -->
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CA1062;CS8602</NoWarn>
<!-- Code analysis -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- Versioning -->
<Version>1.50.0</Version>
<Authors>Spectra Contributors</Authors>
<Company>Spectra</Company>
<Product>Spectra</Product>
<Description>AI-native test case generation and execution framework</Description>
</PropertyGroup>
<!-- Shared analyzers for all projects -->
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.*" PrivateAssets="all" />
</ItemGroup>
</Project>