mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merged PR 10792: Fix path for getting reference assemblies
Fix path for getting reference assemblies
This commit is contained in:
committed by
Dongbo Wang
parent
5bea9ef2d9
commit
3e28403c20
@@ -1598,7 +1598,7 @@ function New-UnifiedNugetPackage
|
||||
# This is to make 'Add-Type' work in application that hosts PowerShell.
|
||||
|
||||
$contentFolder = New-Item (Join-Path $filePackageFolder "contentFiles\any\any") -ItemType Directory -Force
|
||||
$dotnetRefAsmFolder = Join-Path -Path $WinFxdBinPath -ChildPath "ref"
|
||||
$dotnetRefAsmFolder = Join-Path -Path $Winx64BinPath -ChildPath "ref"
|
||||
Copy-Item -Path $dotnetRefAsmFolder -Destination $contentFolder -Recurse -Force
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user