forked from lextudio/sharpsnmplib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuget.bat
13 lines (12 loc) · 808 Bytes
/
nuget.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319
call %MSBuildDir%\msbuild SharpSnmpLib.sln /t:clean /p:Configuration=Release /p:OutputPath=..\bin\net35\
call %MSBuildDir%\msbuild SharpSnmpLib.sln /t:build /p:Configuration=Release /p:OutputPath=..\bin\net35\
call %MSBuildDir%\msbuild SharpSnmpLib.sln /t:clean /p:Configuration=Release /p:OutputPath=..\bin\net40\
call %MSBuildDir%\msbuild SharpSnmpLib.sln /t:build /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 /p:OutputPath=..\bin\net40\
call %MSBuildDir%\msbuild SharpSnmpLib.cf35.sln /t:clean /p:Configuration=Release /p:OutputPath=..\bin\net35-cf\
call %MSBuildDir%\msbuild SharpSnmpLib.cf35.sln /t:build /p:Configuration=Release /p:OutputPath=..\bin\net35-cf\
md .nuget
cd .nuget
call nuget pack
cd ..
@IF %ERRORLEVEL% NEQ 0 PAUSE