@echo Off
set config=%1
if "%config%" == "" (
set config=Release
)
set version=1.0
if not "%PackageVersion%" == "" (
set version=%PackageVersion%
)
 
set nuget=
if "%nuget%" == "" (
set nuget=nuget
)
 
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\paymentwall.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=diag /nr:false
 
mkdir Build
mkdir Build\lib
mkdir Build\lib\net40
 
%nuget% pack "src\paymentwall.nuspec" -NoPackageAnalysis -verbosity detailed -o Build -Version %version% -p Configuration="%config%"
@echo Off
set config=%1
if "%config%" == "" (
set config=Release
)
set version=1.0
if not "%PackageVersion%" == "" (
set version=%PackageVersion%
)
 
set nuget=
if "%nuget%" == "" (
set nuget=nuget
)
 
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\paymentwall.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=diag /nr:false
 
mkdir Build
mkdir Build\lib
mkdir Build\lib\net40
 
%nuget% pack "src\paymentwall.nuspec" -NoPackageAnalysis -verbosity detailed -OutputDirectory Build -Version %version% -p Configuration="%config%"

Update bat file by new NuGet version
Update bat file by new NuGet version
