diff options
author | Youssef Victor <31348972+Youssef1313@users.noreply.github.com> | 2021-02-19 20:12:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 20:12:37 +0300 |
commit | 350ea5b18145ee654cb7efe75d3da99d96bdfb3f (patch) | |
tree | 008a6c32e2294e77a6d8ec735b74103e33d81589 /Directory.Build.props | |
parent | 01982deeb026ed635ca96ab6a48e2028f53120ed (diff) |
Use NetAnalyzers from SDK instead of FxCopAnalyzers (#30138)
* Use analyzers from .NET SDK
Diffstat (limited to 'Directory.Build.props')
-rw-r--r-- | Directory.Build.props | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Directory.Build.props b/Directory.Build.props index 50d30f12fd..f2f54bab5d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,6 +7,12 @@ <RepositoryType>git</RepositoryType> </PropertyGroup> + <PropertyGroup> + <EnableNETAnalyzers>true</EnableNETAnalyzers> + <AnalysisLevel>latest</AnalysisLevel> + <AnalysisMode>Default</AnalysisMode> + </PropertyGroup> + <!-- Defines project type conventions. --> <PropertyGroup> <RepoRelativeProjectDir>$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectDirectory)))</RepoRelativeProjectDir> |