Skip to content

Commit c62e0f0

Browse files
committed
[BREAKING]: Update target framework to netstandard2.0
Consolidates targets from netstandard1.3 and net46 to netstandard2.0 and removes redundant package references and conditional item groups. Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
1 parent 461a06f commit c62e0f0

6 files changed

Lines changed: 6 additions & 49 deletions

File tree

src/Geocoding.Core/Geocoding.Core.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
<PropertyGroup>
44
<Description>Includes a model and interface for communicating with four popular Geocoding providers. Current implementations include: Google Maps, Yahoo! PlaceFinder, Bing Maps (aka Virtual Earth), and Mapquest. The API returns latitude/longitude coordinates and normalized address information. This can be used to perform address validation, real time mapping of user-entered addresses, distance calculations, and much more.</Description>
55
<AssemblyTitle>Geocoding.net Core</AssemblyTitle>
6-
<TargetFrameworks>netstandard1.3;net46</TargetFrameworks>
6+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
77
<Product>Geocoding.Net</Product>
88
</PropertyGroup>
99

1010
<ItemGroup>
1111
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
1212
</ItemGroup>
13-
1413
</Project>

src/Geocoding.Google/Geocoding.Google.csproj

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,10 @@
33
<PropertyGroup>
44
<Description>Includes a model and interface for communicating with four popular Geocoding providers. Current implementations include: Google Maps, Yahoo! PlaceFinder, Bing Maps (aka Virtual Earth), and Mapquest. The API returns latitude/longitude coordinates and normalized address information. This can be used to perform address validation, real time mapping of user-entered addresses, distance calculations, and much more.</Description>
55
<AssemblyTitle>Geocoding.net Google</AssemblyTitle>
6-
<TargetFrameworks>netstandard1.3;net46</TargetFrameworks>
6+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<ItemGroup>
1010
<ProjectReference Include="..\Geocoding.Core\Geocoding.Core.csproj" />
1111
</ItemGroup>
12-
13-
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
14-
<PackageReference Include="System.Net.Http" Version="4.3.4" />
15-
<PackageReference Include="System.Xml.XPath" Version="4.3.0" />
16-
</ItemGroup>
17-
18-
<ItemGroup Condition="'$(TargetFramework)'=='net46'">
19-
<Reference Include="System.Net.Http" />
20-
</ItemGroup>
21-
2212
</Project>

src/Geocoding.Here/Geocoding.Here.csproj

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Includes a model and interface for communicating with four popular Geocoding providers. Current implementations include: Google Maps, Yahoo! PlaceFinder, Bing Maps (aka Virtual Earth), and Mapquest. The API returns latitude/longitude coordinates and normalized address information. This can be used to perform address validation, real time mapping of user-entered addresses, distance calculations, and much more.</Description>
55
<AssemblyTitle>Geocoding.net Here</AssemblyTitle>
6-
<TargetFrameworks>netstandard1.3;net46</TargetFrameworks>
6+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<ItemGroup>
@@ -13,14 +13,4 @@
1313
<ItemGroup>
1414
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
1515
</ItemGroup>
16-
17-
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
18-
<PackageReference Include="System.Net.Http" Version="4.3.4" />
19-
<PackageReference Include="System.Runtime.Serialization.Json" Version="4.3.0" />
20-
</ItemGroup>
21-
22-
<ItemGroup Condition="'$(TargetFramework)'=='net46'">
23-
<Reference Include="System.Net.Http" />
24-
</ItemGroup>
25-
2616
</Project>

src/Geocoding.MapQuest/Geocoding.MapQuest.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,10 @@
33
<PropertyGroup>
44
<Description>Includes a model and interface for communicating with four popular Geocoding providers. Current implementations include: Google Maps, Yahoo! PlaceFinder, Bing Maps (aka Virtual Earth), and Mapquest. The API returns latitude/longitude coordinates and normalized address information. This can be used to perform address validation, real time mapping of user-entered addresses, distance calculations, and much more.</Description>
55
<AssemblyTitle>Geocoding.net MapQuest</AssemblyTitle>
6-
<TargetFrameworks>netstandard1.3;net46</TargetFrameworks>
6+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<ItemGroup>
1010
<ProjectReference Include="..\Geocoding.Core\Geocoding.Core.csproj" />
1111
</ItemGroup>
12-
13-
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
14-
<PackageReference Include="System.Net.Requests" Version="4.3.0" />
15-
</ItemGroup>
16-
1712
</Project>

src/Geocoding.Microsoft/Geocoding.Microsoft.csproj

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Includes a model and interface for communicating with four popular Geocoding providers. Current implementations include: Google Maps, Yahoo! PlaceFinder, Bing Maps (aka Virtual Earth), and Mapquest. The API returns latitude/longitude coordinates and normalized address information. This can be used to perform address validation, real time mapping of user-entered addresses, distance calculations, and much more.</Description>
55
<AssemblyTitle>Geocoding.net Microsoft</AssemblyTitle>
6-
<TargetFrameworks>netstandard1.3;net46</TargetFrameworks>
6+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<ItemGroup>
@@ -13,14 +13,4 @@
1313
<ItemGroup>
1414
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
1515
</ItemGroup>
16-
17-
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
18-
<PackageReference Include="System.Net.Http" Version="4.3.4" />
19-
<PackageReference Include="System.Runtime.Serialization.Json" Version="4.3.0" />
20-
</ItemGroup>
21-
22-
<ItemGroup Condition="'$(TargetFramework)'=='net46'">
23-
<Reference Include="System.Net.Http" />
24-
</ItemGroup>
25-
2616
</Project>

src/Geocoding.Yahoo/Geocoding.Yahoo.csproj

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,10 @@
33
<PropertyGroup>
44
<Description>Includes a model and interface for communicating with four popular Geocoding providers. Current implementations include: Google Maps, Yahoo! PlaceFinder, Bing Maps (aka Virtual Earth), and Mapquest. The API returns latitude/longitude coordinates and normalized address information. This can be used to perform address validation, real time mapping of user-entered addresses, distance calculations, and much more.</Description>
55
<AssemblyTitle>Geocoding.net Yahoo</AssemblyTitle>
6-
<TargetFrameworks>netstandard1.3;net46</TargetFrameworks>
6+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<ItemGroup>
1010
<ProjectReference Include="..\Geocoding.Core\Geocoding.Core.csproj" />
1111
</ItemGroup>
12-
13-
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
14-
<PackageReference Include="System.Net.Requests" Version="4.3.0" />
15-
<PackageReference Include="System.Security.Cryptography.Algorithms" Version="4.3.1" />
16-
<PackageReference Include="System.Xml.XPath" Version="4.3.0" />
17-
</ItemGroup>
18-
1912
</Project>

0 commit comments

Comments
 (0)