forked from OPCFoundation/UA-.NETStandard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
version.props
18 lines (17 loc) · 892 Bytes
/
version.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Project>
<ItemGroup Condition="$(NBGV_PublicRelease) != 'True'">
<!-- Note: Keep Version 3.2.31, it is known working for 4 digit versioning -->
<PackageReference Include="Nerdbank.GitVersioning" Version="3.2.31">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup Condition="'$(NBGV_PublicRelease)' == 'True'">
<Version>$(NBGV_Version)$(NBGV_PrereleaseVersion)</Version>
<VersionPrefix>$(NBGV_SimpleVersion)</VersionPrefix>
<VersionSuffix>$(NBGV_VersionRevision)$(NBGV_PrereleaseVersion)</VersionSuffix>
<AssemblyVersion>$(NBGV_SimpleVersion)</AssemblyVersion>
<FileVersion>$(NBGV_Version)</FileVersion>
<PackageVersion>$(NBGV_Version)$(NBGV_PrereleaseVersion)</PackageVersion>
</PropertyGroup>
</Project>