Files
ASP.NET-Core-Clean-Architec…/Directory.Build.props
T

48 lines
2.5 KiB
XML

<Project>
<PropertyGroup Label="Build">
<Authors>Jean Gatto (@jeangatto)</Authors>
<MaintainerEmail>jean_gatto@hotmail.com</MaintainerEmail>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/jeangatto/ASP.NET-Core-API-CQRS-EVENT-DDD-SOLID</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<!-- Set the neutral language to English -->
<NeutralLanguage>en</NeutralLanguage>
<!-- Set the language version to the latest available -->
<LangVersion>latest</LangVersion>
<!-- Disable implicit usings -->
<ImplicitUsings>disable</ImplicitUsings>
<!-- Disable nullable reference types -->
<Nullable>disable</Nullable>
<!-- Set the analysis level to the latest available -->
<AnalysisLevel>latest</AnalysisLevel>
<!-- Enable .NET analyzers -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<!-- Any warning message generated by the compiler will cause the build process to fail. -->
<!-- This can be useful to enforce strict code quality standards and ensure that all warnings are addressed before deploying the code. -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Enabling Build Acceleration can reduce incremental build times by up to 80% for SDK-style .NET projects. -->
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<!-- CS1591: Missing XML Comment Warning -->
<NoWarn>$(NoWarn);1591</NoWarn>
<!-- The ContinuousIntegrationBuild property indicates whether a build is executing on a continuous integration (CI) server. -->
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup Label="Package References">
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0"/>
<PackageReference Include="Roslynator.Analyzers" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.5.0.73987">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>