-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSupportGeneral.props
More file actions
50 lines (50 loc) · 2.61 KB
/
SupportGeneral.props
File metadata and controls
50 lines (50 loc) · 2.61 KB
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
49
50
<Project>
<PropertyGroup Label="Project categorisation">
<IsTestableProject>false</IsTestableProject>
<IsTestableProject Condition=" $(MSBuildProjectName.Contains('.Tests.')) ">true</IsTestableProject>
<IsXampleProject>false</IsXampleProject>
<IsXampleProject
Condition=" $(MSBuildProjectName.Contains('.Xample')) or $(MSBuildProjectName.StartsWith('Xample.')) "
>true</IsXampleProject
>
</PropertyGroup>
<PropertyGroup Label="General Configurations">
<RootNamespace>$(MSBuildProjectName)</RootNamespace>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<LangVersion Condition=" '$(LangVersion)' != 'preview' ">latest</LangVersion>
<WarningLevel>9999</WarningLevel>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Features>strict</Features>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>All</AnalysisMode>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ReportAnalyzer>true</ReportAnalyzer>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<CheckEolTargetFramework Condition=" '$(Configuration)' == 'Release' ">false</CheckEolTargetFramework>
<SuppressTfmSupportBuildWarnings Condition=" '$(Configuration)' == 'Release' "
>true</SuppressTfmSupportBuildWarnings
>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<NoWarn>$(NoWarn);CA1810;CA1031;</NoWarn>
<NoWarn Condition=" '$(IsTestableProject)' == 'true' "
>$(NoWarn);CS8604;CA2007;S4144;1591;CA1707;IDE1006;VSTHRD200;CA1822;CA1515;S3011;S1192;S1075;</NoWarn
>
<WarningsNotAsErrors>$(WarningsNotAsErrors);CA5394;NU1701;CS0618;S1133;NU1510</WarningsNotAsErrors>
<ErrorLog>diagnostics-$(MSBuildProjectName)-$(TargetFramework)-$(Configuration).sarif,version=2.1</ErrorLog>
</PropertyGroup>
<PropertyGroup Label="Error Handling" Condition=" '$(Configuration)' == 'Release' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Label="Language Configuration">
<NeutralLanguage>en</NeutralLanguage>
<PreferredUILang>en</PreferredUILang>
</PropertyGroup>
</Project>