-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
31 lines (24 loc) · 1.16 KB
/
Directory.Build.props
File metadata and controls
31 lines (24 loc) · 1.16 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
<Project>
<PropertyGroup>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Never run analyzers as part of compilation (local, CI, dotnet build/test/publish) -->
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
<!-- Keep background/live analysis in the IDE -->
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<!-- Optional: ensure code-style analyzers don't run during build either -->
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Pandatech.Analyzers"
Version="2.1.0"
PrivateAssets="all"/>
<PackageReference Include="SonarAnalyzer.CSharp"
Version="10.18.0.131500">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>