Skip to content

Commit

Permalink
Set assembly version to 3.0. Updated .nuspec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Obalix committed Apr 6, 2021
1 parent f047a1a commit aa8b6c0
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 52 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ UCosmic.Www.Mvc.Publish.xml
/Private/

.vs
.vscode
.vscode
_Releases_
8 changes: 5 additions & 3 deletions NGeo2.NET40/NGeo2.NET40.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,16 @@
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include=".editorconfig" />
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\NGeo2\Properties\AssemblyInfo.cs">
<Link>Properties\AssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
<Import Project="..\NGeo2.Shared\NGeo2.Shared.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
Expand Down
83 changes: 54 additions & 29 deletions NGeo2.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>NGeo2</id>
<version>2.0.0</version>
<version>3.0.0</version>
<title>NGeo2</title>
<authors>Axel Eckenberger</authors>
<owners>Axel Eckenberger</owners>
<licenseUrl>http://opensource.org/licenses/MS-PL</licenseUrl>
<license type="expression">MS-PL</license>
<projectUrl>https://github.com/Obalix/NGeo</projectUrl>
<!--<iconUrl>http://www.gravatar.com/avatar/2b36e5d2ac5fe3c2377466dd98c62d52.png</iconUrl>-->
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -15,40 +15,63 @@
GeoNames service from .NET code.
</description>
<releaseNotes>
NGeo is a client library that makes it easier to invoke the
GeoNames services from .NET code.
NGeo is a client library that makes it easier to invoke the
GeoNames services from .NET code.

It is based on the work of Dan Ludwig and John Meyer from The UCosmic Consortium.
It is based on the work of Dan Ludwig and John Meyer from The UCosmic Consortium.

2.0.0
- Complete rewrite of the data types and the service based on the HttpClient class.
- Libraries for: PCL (Profile7), Standard1.1 and NET 4.0
- Currently supported GeoNames endpoints:
* extendedFindNearby
* findNearbyPlaceName
* findNearby
* hierarchy
</releaseNotes>
3.0.0
- Incorporated free text search thanks to sigmarsson (https://github.com/sigmarsson)
- Dropped support for portable-net45+win8 and netstandard1.1
- Addes support for net47, net5.0, netcoreapp3.1, and net4.7
- restructured library code into one project with multiple targets
- restructured test code into one project, dropped net40 test
2.0.0
- Complete rewrite of the data types and the service based on the HttpClient class.
- Libraries for: PCL (Profile7), Standard1.1 and NET 4.0
- Currently supported GeoNames endpoints:
* extendedFindNearby
* findNearbyPlaceName
* findNearby
* hierarchy
</releaseNotes>
<copyright>Copyright © Axel Eckenberger 2016</copyright>
<tags>GeoNames</tags>
<dependencies>
<group>
<dependency id="Newtonsoft.Json" version="9.0.1" />
<group targetFramework="net5.0">
<dependency id="Newtonsoft.Json" version="13.0.1" />
<dependency id="System.Reactive" version="5.0.0" />
<dependency id="System.Reactive.Core" version="5.0.0" />
<dependency id="System.Reactive.Interfaces" version="5.0.0" />
<dependency id="System.Reactive.Linq" version="5.0.0" />
</group>

<group targetFramework="portable-net45+win8">
<dependency id="System.Reactive.Core" version="3.0.0" />
<dependency id="System.Reactive.Interfaces" version="3.0.0" />
<dependency id="System.Reactive.Linq" version="3.0.0" />
</group>
<group targetFramework="net4.7">
<dependency id="Newtonsoft.Json" version="13.0.1" />
<dependency id="System.Reactive" version="5.0.0" />
<dependency id="System.Reactive.Core" version="5.0.0" />
<dependency id="System.Reactive.Interfaces" version="5.0.0" />
<dependency id="System.Reactive.Linq" version="5.0.0" />
</group>

<group targetFramework="netstandard1.1">
<dependency id="System.Reactive.Core" version="3.1.0" />
<dependency id="System.Reactive.Interfaces" version="3.1.0" />
<dependency id="System.Reactive.Linq" version="3.1.0" />
</group>
<group targetFramework="netcoreapp3.1">
<dependency id="Newtonsoft.Json" version="13.0.1" />
<dependency id="System.Reactive" version="5.0.0" />
<dependency id="System.Reactive.Core" version="5.0.0" />
<dependency id="System.Reactive.Interfaces" version="5.0.0" />
<dependency id="System.Reactive.Linq" version="5.0.0" />
</group>

<group targetFramework="netstandard2.0">
<dependency id="Newtonsoft.Json" version="13.0.1" />
<dependency id="System.Reactive" version="5.0.0" />
<dependency id="System.Reactive.Core" version="5.0.0" />
<dependency id="System.Reactive.Interfaces" version="5.0.0" />
<dependency id="System.Reactive.Linq" version="5.0.0" />
</group>

<group targetFramework="net40">
<dependency id="Newtonsoft.Json" version="9.0.1" />
<dependency id="Microsoft.Bcl" version="1.1.10" />
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
Expand All @@ -60,8 +83,10 @@
</dependencies>
</metadata>
<files>
<file src="NGeo2.PCL45\bin\Release\NGeo2.*" target="lib\portable-net45+win8" />
<file src="NGeo2.Standard1.1\bin\Release\NGeo2.*" target="lib\netstandard1.1" />
<file src="Ngeo2.NET40\bin\Release\Ngeo2.*" target="lib\net40" />
<file src="NGeo2.NET40\bin\Release\Ngeo2.*" target="lib\net40" />
<file src="NGeo2\bin\Release\net47\Ngeo2.*" target="lib\net47" />
<file src="NGeo2\bin\Release\netcoreapp3.1\Ngeo2.*" target="lib\netcoreapp3.1" />
<file src="NGeo2\bin\Release\net5.0\Ngeo2.*" target="lib\net5.0" />
<file src="NGeo2\bin\Release\netstandard2.0\Ngeo2.*" target="lib\netstandard2.0" />
</files>
</package>
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
using System.Resources;
using System.Reflection;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NGeo.NET40")]
[assembly: AssemblyTitle("NGeo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NGeo.NET40")]
[assembly: AssemblyCopyright("Copyright © Axel Eckenberger 2016")]
[assembly: AssemblyProduct("NGeo")]
[assembly: AssemblyCopyright("Copyright © Axel Eckenberger 2016-2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
Expand All @@ -20,22 +20,11 @@
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
[assembly: InternalsVisibleTo("NGeo2.Tests.NET40")]
[assembly: InternalsVisibleTo("NGeo2.Tests")]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f503720a-bf27-461f-8b73-79bce83a6d87")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyVersion("1.0.0.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyVersion("3.0.0")]
[assembly: AssemblyFileVersion("3.0.0")]

0 comments on commit aa8b6c0

Please sign in to comment.