Skip to content

Instantly share code, notes, and snippets.

@seeker
Created June 21, 2012 11:18
Show Gist options
  • Save seeker/2965188 to your computer and use it in GitHub Desktop.
Save seeker/2965188 to your computer and use it in GitHub Desktop.
Force a .NET recompile, instead of wating for it to run in the background
C:
cd %WINDIR%\Microsoft.NET\Framework\
for /d %%D IN (*) DO .\%%D\ngen.exe executeQueuedItems
cd %WINDIR%\Microsoft.NET\Framework64\
for /d %%D IN (*) DO .\%%D\ngen.exe executeQueuedItems
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment