-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
62 lines (54 loc) · 2.71 KB
/
Directory.Build.props
File metadata and controls
62 lines (54 loc) · 2.71 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
51
52
53
54
55
56
57
58
59
60
61
62
<Project>
<!-- https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2022#choose-between-adding-properties-to-a-props-or-targets-file -->
<!-- Processing order: -->
<!-- 1: PropertyGroups - Directory.Build.props -->
<!-- 2: PropertyGroups - csproj -->
<!-- 3: PropertyGroups - Directory.Build.targets -->
<!-- 4: ItemGroups - Directory.Build.props -->
<!-- 5: ItemGroups - csproj -->
<!-- 6: ItemGroups - Directory.Build.targets -->
<PropertyGroup>
<!-- Set version and default properties -->
<VersionPrefix>1.6.1-preview</VersionPrefix>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Set common NuGet package properties -->
<Authors>Raffael Herrmann, Shane Krueger</Authors>
<PackageOwners>Shane Krueger</PackageOwners>
<Copyright>Copyright © 2013-2025 Raffael Herrmann. Copyright © 2024-2025 Shane Krueger. All rights reserved.</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>nuget-icon.png</PackageIcon>
<!-- Set misc build properties -->
<DebugType>embedded</DebugType>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<SignAssembly>false</SignAssembly>
<Deterministic>true</Deterministic>
<!-- Enable analyzers; treat all warnings as errors; disable 'using directive is unnecessary' and throw helper warnings -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);IDE0005;CA1510</NoWarn>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisLevel>8-recommended</AnalysisLevel>
</PropertyGroup>
<!-- Include README for packable projects -->
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)LICENSE.txt" Pack="true" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)nuget-icon.png" Pack="true" PackagePath="\" />
</ItemGroup>
<!-- Configure implicit usings -->
<ItemGroup>
<Using Include="System.Collections.BitArray" Alias="BitArray" />
<Using Include="System.Globalization"/>
<Using Include="System.Text" />
<Using Include="System.Text.RegularExpressions"/>
</ItemGroup>
</Project>