fetch Mono.Nat from nuget

This commit is contained in:
Matthias Mailänder
2014-12-26 15:37:12 +01:00
parent 51d081f93f
commit 962d8fe74f
6 changed files with 17 additions and 6 deletions

1
.gitignore vendored
View File

@@ -31,6 +31,7 @@ thirdparty/SharpFont*
thirdparty/windows/freetype6.dll
thirdparty/nunit*
thirdparty/windows/SDL2.dll
thirdparty/Mono.Nat.dll
# backup files by various editors
*~

View File

@@ -53,7 +53,7 @@
<HintPath>..\thirdparty\SharpFont.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Nat, Version=1.1.0.0, Culture=neutral">
<Reference Include="Mono.Nat">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
<Package>mono.nat</Package>

Binary file not shown.

5
thirdparty/README vendored
View File

@@ -10,11 +10,6 @@ FuzzyLogicLibrary.dll
Version 1.2.0
GPL v2.0 license
Mono.Nat.dll
http://projects.qnetp.net/projects/show/mono-nat
Version 1.1.0
MIT license
SDL2-CS.dll
https://github.com/flibitijibibo/SDL2-CS/
Commit e8731efadb249a40f46d646e2b783ec588326ea6

View File

@@ -59,4 +59,12 @@ if (!(Test-Path "windows/SDL2.dll"))
cp sdl2.redist.2.0.3/build/native/bin/Win32/dynamic/SDL2.dll ./windows/
rmdir sdl2.2.0.3 -Recurse
rmdir sdl2.redist.2.0.3 -Recurse
}
if (!(Test-Path "Mono.Nat.dll"))
{
echo "Fetching Mono.Nat from NuGet."
./nuget.exe install Mono.Nat -Version 1.2.21
cp Mono.Nat.1.2.21.0/lib/net40/Mono.Nat.dll .
rmdir Mono.Nat.1.2.21.0 -Recurse
}

View File

@@ -47,4 +47,11 @@ if [ ! -f windows/SDL2.dll ]; then
nuget install sdl2 -Version 2.0.3
cp ./sdl2.redist.2.0.3/build/native/bin/Win32/dynamic/SDL2.dll ./windows/
rm -rf sdl2.2.0.3 sdl2.redist.2.0.3
fi
if [ ! -f Mono.Nat.dll ]; then
echo "Fetching Mono.Nat from nuget"
nuget install Mono.Nat -Version 1.2.21
cp ./Mono.Nat.1.2.21.0/lib/net40/Mono.Nat.dll .
rm -rf Mono.Nat.1.2.21.0
fi