-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
24 lines (21 loc) · 989 Bytes
/
Directory.Build.props
File metadata and controls
24 lines (21 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project>
<PropertyGroup>
<!-- Common properties for all projects -->
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS1591;CS8620</NoWarn>
<!-- Deterministic builds for CI/CD -->
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true' Or '$(TF_BUILD)' == 'true'">true</ContinuousIntegrationBuild>
<!-- MinVer will automatically set these properties -->
<!-- Version, AssemblyVersion, FileVersion, PackageVersion -->
<MinVerTagPrefix>v</MinVerTagPrefix>
<MinVerDefaultPreReleaseIdentifiers>preview</MinVerDefaultPreReleaseIdentifiers>
</PropertyGroup>
<ItemGroup>
<!-- Git-tag-based versioning for every project so all packages share the same version -->
<PackageReference Include="MinVer" PrivateAssets="all" />
</ItemGroup>
</Project>