Created
December 19, 2021 10:22
-
-
Save MelbourneDeveloper/9abffe59d930132542d8d26db03d6a69 to your computer and use it in GitHub Desktop.
Code Analysis csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net6.0</TargetFramework> | |
<ImplicitUsings>enable</ImplicitUsings> | |
<Nullable>enable</Nullable> | |
<AnalysisMode>AllEnabledByDefault</AnalysisMode> | |
<AnalysisLevel>latest</AnalysisLevel> | |
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | |
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild> | |
<EnableNETAnalyzers>True</EnableNETAnalyzers> | |
<WarningsNotAsErrors>CA1014</WarningsNotAsErrors> | |
</PropertyGroup> | |
<ItemGroup> | |
<None Include="..\.editorconfig" Link=".editorconfig" /> | |
</ItemGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0"> | |
<PrivateAssets>all</PrivateAssets> | |
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | |
</PackageReference> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment