-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
58 lines (44 loc) · 2.25 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
49
50
51
52
53
54
55
56
57
58
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Version>1.0.0</Version>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<Features>strict</Features>
<!--required for SkipLocalInit-->
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<WarningLevel>999</WarningLevel>
<ErrorReport>prompt</ErrorReport>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../SourceMapTools.snk</AssemblyOriginatorKeyFile>
<GenerateAssemblyCompanyAttribute>False</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyConfigurationAttribute>False</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyFileVersionAttribute>False</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyProductAttribute>False</GenerateAssemblyProductAttribute>
<GenerateAssemblyTitleAttribute>False</GenerateAssemblyTitleAttribute>
<GenerateAssemblyVersionAttribute>False</GenerateAssemblyVersionAttribute>
<RepositoryUrl>https://github.com/MaceWindu/sourcemap-tools</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<ArtifactsPath>$(MSBuildThisFileDirectory).build</ArtifactsPath>
<ArtifactsPivots>$(Configuration)/$(TargetFramework)</ArtifactsPivots>
</PropertyGroup>
<PropertyGroup Label="Code Analyzers Settings">
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<AnalysisLevel>preview-All</AnalysisLevel>
<!--enable IDEXXXX analyzers during build-->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ReportAnalyzer>false</ReportAnalyzer>
<!--workaround for https://github.com/dotnet/roslyn/issues/41640, but also required for xml-doc validation -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup Label="Code Analyzers Imports">
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>build; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>