Skip to content

Instantly share code, notes, and snippets.

@MikeJansen
Created May 7, 2012 15:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikeJansen/2628283 to your computer and use it in GitHub Desktop.
Save MikeJansen/2628283 to your computer and use it in GitHub Desktop.
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