Create a gist now

Instantly share code, notes, and snippets.

ASP.NET MVC 4 - update GAC from nightly build http://is.gd/lAht03
@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"
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment