Skip to content

Commit

Permalink
Update nuspec
Browse files Browse the repository at this point in the history
  • Loading branch information
ied206 committed May 22, 2018
1 parent 0875d09 commit d9735fd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ManagedWimLib/ManagedWimLib.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<files>
<file src="bin\Release\ManagedWimLib.dll" target="lib\net45" />
<file src="bin\Release\ManagedWimLib.pdb" target="lib\net45" />
<file src="Precompiled\x86\wimlib-15.dll" target="build\net45\Precompiled\x86" />
<file src="Precompiled\x64\wimlib-15.dll" target="build\net45\Precompiled\x64" />
<file src="Precompiled\x86\libwim-15.dll" target="build\net45\Precompiled\x86" />
<file src="Precompiled\x64\libwim-15.dll" target="build\net45\Precompiled\x64" />
<file src="ManagedWimLib.targets" target="build\net45\ManagedWimLib.targets" />
</files>
</package>
17 changes: 17 additions & 0 deletions ManagedWimLib/NugetPack.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@echo off
SETLOCAL ENABLEEXTENSIONS

REM Adjust these statements according to your envrionment
REM SET MSBUILD_PATH="%windir%\Microsoft.NET\Framework\v4.0.30319\"
SET MSBUILD_PATH="%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin"

REM %~dp0 => absolute path of directory where batch file exists
cd %~dp0
SET SOLUTION="%cd%\..\ManagedWimLib.sln"
SET NUGET="%cd%\..\res\nuget.exe"

%MSBUILD_PATH%\MSBuild.exe %SOLUTION% /p:Configuration=Release /target:Rebuild

%NUGET% pack ManagedWimLib.nuspec

ENDLOCAL

0 comments on commit d9735fd

Please sign in to comment.