mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merge pull request #1638 from PowerShell/frangom/bugfixes
Fixing path to remove ILs after the ngen binary is generated. This fixes issue ##1636
This commit is contained in:
@@ -1858,6 +1858,7 @@ function Start-CrossGen {
|
||||
Write-Verbose "PowerShell Ngen assemblies have been generated, deleting ILs..." -Verbose
|
||||
foreach ($assemblyName in $psCoreAssemblyList) {
|
||||
# Remove the IL assembly and its symbols.
|
||||
$assemblyPath = Join-Path $PublishPath $assemblyName
|
||||
$symbolsPath = $assemblyPath.Replace(".dll", ".pdb")
|
||||
Remove-Item $assemblyPath -Force -ErrorAction SilentlyContinue
|
||||
Remove-Item $symbolsPath -Force -ErrorAction SilentlyContinue
|
||||
|
||||
Reference in New Issue
Block a user