We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47a8cb5 commit 29b3cceCopy full SHA for 29b3cce
snippets/Directory.Build.props
@@ -0,0 +1,12 @@
1
+<Project>
2
+ <PropertyGroup>
3
+ <!-- For non-SDK projects that import this file and then import Microsoft.Common.props,
4
+ tell Microsoft.Common.props not to import Directory.Build.props again. -->
5
+ <ImportDirectoryBuildProps>false</ImportDirectoryBuildProps>
6
+ <!-- Enable .NET code analysis (this is necessary for projects that target 3.1 or earlier). -->
7
+ <EnableNETAnalyzers>true</EnableNETAnalyzers>
8
+ <AnalysisLevel>latest</AnalysisLevel>
9
+ <AnalysisLevelSecurity>latest-recommended</AnalysisLevelSecurity>
10
+ <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
11
+ </PropertyGroup>
12
+</Project>
0 commit comments