Skip to content

Commit

Permalink
Create Directory.Build.props (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Nov 12, 2024
1 parent 1357cef commit 5785dfc
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<Project>
<PropertyGroup>
<UpdateVersionProperties>true</UpdateVersionProperties>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<DebugType>full</DebugType>
<RestorePackagesWithLockFile>false</RestorePackagesWithLockFile>
<NoWarn>$(NoWarn);1591;NU5105</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<PreserveCompilationContext>true</PreserveCompilationContext>
<GenerateDependencyFile>true</GenerateDependencyFile>
</PropertyGroup>

<PropertyGroup Label="Analysis settings">
<AnalysisLevel>latest-Recommended</AnalysisLevel>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" Condition="$(MSBuildProjectExtension) == '.csproj' And $(IsTestProject) != 'true'" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167" PrivateAssets="all" Condition="$(MSBuildProjectExtension) == '.csproj' And $(IsTestProject) != 'true'" />
</ItemGroup>
</Project>

0 comments on commit 5785dfc

Please sign in to comment.