Skip to content

Commit e65ff51

Browse files
authored
build: separate version.props
1 parent 817887f commit e65ff51

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Directory.Build.props

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<Project>
2-
<PropertyGroup>
3-
<VersionMajor>2</VersionMajor>
4-
<VersionMinor>0</VersionMinor>
5-
<VersionPatch>0</VersionPatch>
6-
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
7-
<VersionSuffix Condition="'$(Configuration)'=='DEBUG'">develop</VersionSuffix>
8-
<InformationalVersion>$(PackageVersion)</InformationalVersion>
9-
</PropertyGroup>
2+
<Import Project="./build/version.props"/>
103
<PropertyGroup>
114
<LangVersion>latest</LangVersion>
125
<ImplicitUsings>enable</ImplicitUsings>

build/version.props

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project>
2+
<PropertyGroup>
3+
<VersionMajor>2</VersionMajor>
4+
<VersionMinor>0</VersionMinor>
5+
<VersionPatch>0</VersionPatch>
6+
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
7+
<VersionSuffix Condition="'$(Configuration)'=='DEBUG'">develop</VersionSuffix>
8+
<InformationalVersion>$(PackageVersion)</InformationalVersion>
9+
</PropertyGroup>
10+
</Project>

0 commit comments

Comments
 (0)