-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
19 lines (16 loc) · 1.01 KB
/
Copy pathDirectory.Build.props
File metadata and controls
19 lines (16 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Project>
<PropertyGroup>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<!-- This stops MSBuild from forcing things to warnings -->
<ReportAnalyzerDiagnosticsAsWarnings>true</ReportAnalyzerDiagnosticsAsWarnings>
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
<!-- This ensures native C# rules don't throw nullable spam across generated test paths -->
<NoWarn>$(NoWarn);8669</NoWarn>
</PropertyGroup>
<!-- This block automatically installs these NuGet packages to ALL projects in your solution -->
<ItemGroup>
<PackageReference Include="Roslynator.Analyzers" Version="4.15.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="Roslynator.Formatting.Analyzers" Version="4.15.0" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
</ItemGroup>
</Project>