-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
20 lines (19 loc) · 893 Bytes
/
Copy pathDirectory.Build.props
File metadata and controls
20 lines (19 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<!-- C# 14: explicit lock types, params collections, ref struct interfaces, field keyword -->
<LangVersion>14</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RootNamespace>$(MSBuildProjectName.Replace('-', '_'))</RootNamespace>
<!-- Git-driven semantic versioning from tags (for example: v1.2.3) -->
<MinVerTagPrefix>v</MinVerTagPrefix>
<MinVerAutoIncrement>patch</MinVerAutoIncrement>
<MinVerDefaultPreReleaseIdentifiers>preview.0</MinVerDefaultPreReleaseIdentifiers>
<InvariantGlobalization>false</InvariantGlobalization>
</PropertyGroup>
<ItemGroup Condition="'$(IsTestProject)' != 'true'">
<PackageReference Include="MinVer" PrivateAssets="All" />
</ItemGroup>
</Project>