Last active
February 15, 2023 11:12
-
-
Save b9AcE/7666ac2eb80cc1326cf92e1a3d3cbe7a to your computer and use it in GitHub Desktop.
Updating .NET runtimes to re-optimize the local .NET programs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO Run as admin after updating .NET runtimes to re-optimize the local .NET programs. | |
@ECHO Runs once for 32-bit and then once for 64-bit. | |
:: Version 2 | |
:: Version 2 changes: Cosmetic. | |
@ECHO 32-bit: | |
"%windir%\Microsoft.NET\Framework\v4.0.30319\ngen.exe" update | |
"%windir%\Microsoft.NET\Framework\v4.0.30319\ngen.exe" executequeueditems | |
@ECHO 64-bit: | |
"%windir%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" update | |
"%windir%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" executequeueditems |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment