[Windows] Rename image build scripts (#8808)

This commit is contained in:
Vasilii Polikarpov
2023-11-16 11:20:11 +01:00
committed by GitHub
parent f78a7baa80
commit 0263bdd53e
39 changed files with 234 additions and 210 deletions

View File

@@ -0,0 +1,11 @@
################################################################################
## File: Install-NativeImages.ps1
## Desc: Generate and install native images for .NET assemblies
################################################################################
Write-Host "NGen: Microsoft.PowerShell.Utility.Activities"
$null = & $env:SystemRoot\Microsoft.NET\Framework64\v4.0.30319\ngen.exe install "Microsoft.PowerShell.Utility.Activities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Write-Host "NGen: Framework64"
$null = & $env:SystemRoot\Microsoft.NET\Framework64\v4.0.30319\ngen.exe update
Write-Host "NGen: Framework"
$null = & $env:SystemRoot\Microsoft.NET\Framework\v4.0.30319\ngen.exe update