Update MaxMind.GeoIP2 version to 2.3.1

Fixes an "Operation did not complete successfully because the file contains a virus." message when making dependencies.
This commit is contained in:
Pavel Penev
2015-08-27 00:03:38 +03:00
parent d5680f0ee0
commit 353d9215c6
2 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ if (!(Test-Path "ICSharpCode.SharpZipLib.dll"))
if (!(Test-Path "MaxMind.GeoIP2.dll")) if (!(Test-Path "MaxMind.GeoIP2.dll"))
{ {
echo "Fetching MaxMind.GeoIP2 from NuGet." echo "Fetching MaxMind.GeoIP2 from NuGet."
./nuget.exe install MaxMind.GeoIP2 -Version 2.1.0 -ExcludeVersion ./nuget.exe install MaxMind.GeoIP2 -Version 2.3.1 -ExcludeVersion
cp MaxMind.Db/lib/net40/MaxMind.Db.* . cp MaxMind.Db/lib/net40/MaxMind.Db.* .
rmdir MaxMind.Db -Recurse rmdir MaxMind.Db -Recurse
cp MaxMind.GeoIP2/lib/net40/MaxMind.GeoIP2* . cp MaxMind.GeoIP2/lib/net40/MaxMind.GeoIP2* .

View File

@@ -49,10 +49,10 @@ fi
if [ ! -f MaxMind.GeoIP2.dll ]; then if [ ! -f MaxMind.GeoIP2.dll ]; then
echo "Fetching MaxMind.GeoIP2 from NuGet" echo "Fetching MaxMind.GeoIP2 from NuGet"
get MaxMind.Db 1.0.0.0 get Newtonsoft.Json 7.0.1
get Newtonsoft.Json 6.0.5 get MaxMind.Db 1.1.0.0
get RestSharp 105.0.1 get RestSharp 105.2.3
get MaxMind.GeoIP2 2.1.0 get MaxMind.GeoIP2 2.3.1
cp ./MaxMind.Db/lib/net40/MaxMind.Db.* . cp ./MaxMind.Db/lib/net40/MaxMind.Db.* .
rm -rf MaxMind.Db rm -rf MaxMind.Db
cp ./MaxMind.GeoIP2/lib/net40/MaxMind.GeoIP2* . cp ./MaxMind.GeoIP2/lib/net40/MaxMind.GeoIP2* .