-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDirectory.Build.props
43 lines (39 loc) · 2.24 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
<Project>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<PublishTrimmed>true</PublishTrimmed>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<StaticWebAssetBasePath Condition="$(StaticWebAssetBasePath) == ''">/</StaticWebAssetBasePath>
<!-- Begin: Nuget Audit -->
<NoWarn>NU1900</NoWarn>
<WarningsNotAsErrors>NU1900</WarningsNotAsErrors>
<NugetAudit>true</NugetAudit>
<NugetAuditLevel>critical</NugetAuditLevel>
<NugetAuditMode>all</NugetAuditMode>
<!-- End: Nuget Audit -->
<!-- Begin: Static Code Analysis -->
<!-- <AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>All</AnalysisMode> -->
<!-- <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors> -->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- <ItemGroup Condition="'$(MSBuildProjectExtension)' != '.dcproj'">
<PackageReference Include="SonarAnalyzer.CSharp" Version="*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>
runtime; build; native; contentfiles; analyzers; buildtransitive
</IncludeAssets>
</PackageReference>
</ItemGroup> -->
<!-- End: Static Code Analysis -->
<!-- Begin: Set the build scope to the value of the BuildScope environment variable if it is set for generating Sitemap from other RCL -->
<BaseIntermediateOutputPath Condition=" '$(BuildScope)' != '' ">obj\$(BuildScope)\</BaseIntermediateOutputPath>
<IntermediateOutputPath Condition=" '$(BuildScope)' != '' ">obj\$(BuildScope)\$(Configuration)\</IntermediateOutputPath>
<BaseOutputPath Condition=" '$(BuildScope)' != '' ">bin\$(BuildScope)\</BaseOutputPath>
<DefaultItemExcludes>$(DefaultItemExcludes);bin/**;obj/**</DefaultItemExcludes>
<!-- End: Set the build scope to the value of the BuildScope environment variable if it is set for generating Sitemap from other RCL -->
</PropertyGroup>
</Project>