Skip to content

Commit b047e00

Browse files
committed
Updated way we handle version #.
1 parent a83eb4d commit b047e00

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

ProjNet/ProjNET.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<TargetFrameworks>net35-client;net40-client;net403-client;net45;netstandard1.0;netstandard2.0</TargetFrameworks>
88
<SignAssembly>true</SignAssembly>
99
<AssemblyOriginatorKeyFile>$(SolutionDir)scskey.snk</AssemblyOriginatorKeyFile>
10+
<TargetFramework>net35</TargetFramework>
1011
</PropertyGroup>
1112

1213
<Import Project="$(SolutionDir)ProjNet.Common.props" />
@@ -73,4 +74,9 @@
7374
<None Include="$(SolutionDir)scskey.snk" />
7475
</ItemGroup>
7576

77+
<ItemGroup>
78+
<Compile Include="..\SharedAssemblyVersion.cs">
79+
<Link>Properties\SharedAssemblyVersion.cs</Link>
80+
</Compile>
81+
</ItemGroup>
7682
</Project>

ProjNet/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@
2020
#if HAS_SYSTEM_RUNTIME_INTEROPSERVICES_GUIDATTRIBUTE
2121
[assembly: Guid("e16f3ac5-214b-4ef3-9809-740a13cf0ec7")]
2222
#endif
23-
[assembly: AssemblyVersion("1.4.0.0")]
24-
[assembly: AssemblyFileVersion("1.4.0.0")]

ProjNet4GeoAPI.sln

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.27130.2036
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProjNET", "ProjNet\ProjNET.csproj", "{E028BDD2-55E1-4E5F-BE31-35FAEC8D6428}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjNET", "ProjNet\ProjNET.csproj", "{E028BDD2-55E1-4E5F-BE31-35FAEC8D6428}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AC62B826-FD1B-43B9-9E20-696588E560E7}"
99
ProjectSection(SolutionItems) = preProject
1010
ProjNet.Common.props = ProjNet.Common.props
1111
ProjNET.nuspec = ProjNET.nuspec
1212
TeamCity.targets = TeamCity.targets
13+
icon.png = icon.png
14+
SharedAssemblyVersion.cs = SharedAssemblyVersion.cs
1315
EndProjectSection
1416
EndProject
15-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProjNET.Tests", "ProjNet.Tests\ProjNET.Tests.csproj", "{67E8C952-1F48-4DFB-9507-BD44DB6784FD}"
17+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjNET.Tests", "ProjNet.Tests\ProjNET.Tests.csproj", "{67E8C952-1F48-4DFB-9507-BD44DB6784FD}"
1618
EndProject
1719
Global
1820
GlobalSection(SolutionConfigurationPlatforms) = preSolution

SharedAssemblyVersion.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// This is now the main source of versioning information.
2+
// -> Change the version # here.
3+
4+
using System.Reflection;
5+
6+
[assembly: AssemblyVersion("1.4.0")]

icon.png

1.43 KB
Loading

0 commit comments

Comments
 (0)