public
Created

ASP.NET MVC 4 - update GAC from nightly build http://is.gd/lAht03

  • Download Gist
nightly-build-to-gac.cmd
Batchfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
@echo off
rem *********************************************************************************
rem *
rem * See http://is.gd/lAht03
rem *
rem * Update ASP.NET MVC4 nightly build in the GAC
rem *
rem * Run from the solution's packages folder.
rem *
rem * nightly-build-to-gac.cmd [build-no-filter]
rem *
rem *********************************************************************************
if (%1)==() goto no_filter
for /f %%I in ('dir /s /b *.dll ^| findstr /c:"%1" ^| findstr /g:nightly-build-to-gac.lst') do gacutil -i "%%I"
goto :eof
:no_filter
for /f %%I in ('dir /s /b *.dll ^| findstr /g:nightly-build-to-gac.lst') do gacutil -i "%%I"
nightly-build-to-gac.lst
1 2 3 4 5 6 7 8 9 10 11 12
System.Web.Mvc.dll
System.Web.Razor.dll
System.Net.Http.Formatting.dll
System.Web.Http.dll
System.Web.Http.WebHost.dll
System.Web.Helpers.dll
System.Web.WebPages.Deployment.dll
System.Web.WebPages.dll
System.Web.WebPages.Razor.dll
System.Net.Http.dll
System.Net.Http.WebRequest.dll
System.Json.dll

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.