-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
48 lines (44 loc) · 2.33 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<Project>
<PropertyGroup Label="SDK Versions">
<DotNetVersion>net9.0</DotNetVersion>
</PropertyGroup>
<PropertyGroup Label="NuGet package">
<Authors>{{username}}</Authors>
<Company></Company>
<Copyright>Copyright © $([System.DateTime]::Now.Year)</Copyright>
<RepositoryUrl>https://github.com/guilhermeStracini/cqrs-boilerplate-dotnet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageTags>CQRS;Boilerplate;Template;API;Worker</PackageTags>
<Description>CQRS (API + Worker) boilerplate template .NET</Description>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<PropertyGroup Label="Build">
<UpdateVersionProperties>true</UpdateVersionProperties>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<DebugType>full</DebugType>
<RestorePackagesWithLockFile>false</RestorePackagesWithLockFile>
<NoWarn>$(NoWarn);</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<PreserveCompilationContext>true</PreserveCompilationContext>
<GenerateDependencyFile>true</GenerateDependencyFile>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
</PropertyGroup>
<PropertyGroup Label="Analysis settings">
<AnalysisLevel>latest-Recommended</AnalysisLevel>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="all" Condition="$(MSBuildProjectExtension) == '.csproj' And $(IsTestProject) != 'true'" />
<PackageReference Include="SonarAnalyzer.CSharp" PrivateAssets="all" Condition="$(MSBuildProjectExtension) == '.csproj' And $(IsTestProject) != 'true'" />
</ItemGroup>
</Project>