Skip to content

Commit 620da68

Browse files
committed
Move shared assembly info to project properties
1 parent 63404a9 commit 620da68

File tree

7 files changed

+42
-17
lines changed

7 files changed

+42
-17
lines changed

NHibernate.Spatial.MsSql/NHibernate.Spatial.MsSql.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../NHibernate.Spatial.props" />
23

34
<PropertyGroup>
45
<TargetFramework>net461</TargetFramework>

NHibernate.Spatial.MySQL/NHibernate.Spatial.MySQL.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../NHibernate.Spatial.props" />
23

34
<PropertyGroup>
45
<TargetFramework>netstandard2.0</TargetFramework>

NHibernate.Spatial.PostGis/NHibernate.Spatial.PostGis.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../NHibernate.Spatial.props" />
23

34
<PropertyGroup>
45
<TargetFramework>netstandard2.0</TargetFramework>

NHibernate.Spatial.props

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<Project>
2+
<PropertyGroup>
3+
<!-- Specify version info -->
4+
<VersionMajor Condition="'$(VersionMajor)' == ''">5</VersionMajor>
5+
<VersionMinor Condition="'$(VersionMinor)' == ''">1</VersionMinor>
6+
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
7+
<!-- NOTE: Set to "preXYZ" for pre-releases and leave blank for full releases -->
8+
<VersionSuffix Condition="'$(VersionSuffix)' == ''">pre001</VersionSuffix>
9+
10+
<!-- NOTE: Generally shouldn't need to edit anything below this line -->
11+
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
12+
<AssemblyVersion>$(VersionMajor).$(VersionMinor).0.0</AssemblyVersion>
13+
<FileVersion>$(VersionPrefix).0</FileVersion>
14+
15+
<Product>NHibernate.Spatial</Product>
16+
<Description>NHibernate.Spatial is a library of spatial extensions for NHibernate, and allows you to connect NHibernate to a spatially enabled database and manipulate geometries in HQL or in .NET code using NetTopologySuite, providing you with a fully integrated GIS programming experience.</Description>
17+
<Company>NHibernate.Spatial Community</Company>
18+
<Copyright>Licensed under LGPL.</Copyright>
19+
<Authors>NHibernate.Spatial Community</Authors>
20+
21+
<PackageProjectUrl>https://github.com/nhibernate/NHibernate.Spatial</PackageProjectUrl>
22+
<PackageIconUrl>https://raw.githubusercontent.com/nhibernate/NHibernate.Spatial/master/Logo/NHibernate.Spatial.png</PackageIconUrl>
23+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
24+
<PackageLicenseUrl>https://raw.githubusercontent.com/nhibernate/NHibernate.Spatial/master/LICENSE.txt</PackageLicenseUrl>
25+
<PackageReleaseNotes>https://github.com/nhibernate/NHibernate.Spatial/blob/v$(VersionPrefix)/releasenotes.txt</PackageReleaseNotes>
26+
<PackageTags>NHibernate; NHibernate.Spatial; ORM; Database; DAL; GIS; GeoSpatial</PackageTags>
27+
<RepositoryUrl>https://github.com/nhibernate/NHibernate.Spatial.git</RepositoryUrl>
28+
<RepositoryType>git</RepositoryType>
29+
</PropertyGroup>
30+
</Project>

NHibernate.Spatial.sln

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests.NHibernate.Spatial.Ms
2727
EndProject
2828
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests.NHibernate.Spatial.MsSql2012", "Tests.NHibernate.Spatial.MsSql2012\Tests.NHibernate.Spatial.MsSql2012.csproj", "{12E29E47-4760-427E-8EF9-5D2F39B0E980}"
2929
EndProject
30+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8DBF64ED-50C5-42C0-AED7-64FD617FB649}"
31+
ProjectSection(SolutionItems) = preProject
32+
NHibernate.Spatial.props = NHibernate.Spatial.props
33+
EndProjectSection
34+
EndProject
3035
Global
3136
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3237
Debug|Any CPU = Debug|Any CPU

NHibernate.Spatial/NHibernate.Spatial.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../NHibernate.Spatial.props" />
23

34
<PropertyGroup>
45
<TargetFramework>netstandard2.0</TargetFramework>

SharedAssemblyInfo.cs

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)