Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/PowerShell/PowerShell.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Patwardhan <adityap@microsoft.com>2022-11-02 03:27:09 +0300
committerGitHub <noreply@github.com>2022-11-02 03:27:09 +0300
commitf9b6d12dde595af3b902e11496f76755d3ce9da6 (patch)
tree2ba9f0235e05280717e237abd6d733d46125fcea
parentc16521ac87e11b911d38d872b469424a7c03d75c (diff)
Do not remove `penimc_cor3.dll` from build (#18438)
-rw-r--r--assets/wix/files.wxs4
-rw-r--r--build.psm13
2 files changed, 6 insertions, 1 deletions
diff --git a/assets/wix/files.wxs b/assets/wix/files.wxs
index 8da3a423d0..47501d9303 100644
--- a/assets/wix/files.wxs
+++ b/assets/wix/files.wxs
@@ -2778,6 +2778,9 @@
<Component Id="cmp6DA0E2825D9646A6959358D042DBC4FE">
<File Id="fil55E2580F30F241F1AC58435689E7E1F7" KeyPath="yes" Source="$(var.ProductSourcePath)\mscordaccore_$(var.FileArchitecture)_$(var.FileArchitecture)_7.0.22.47203.dll" />
</Component>
+ <Component Id="cmp96588875574749E295496861FFC1DB58">
+ <File Id="filF931B05A25224A188D08E09A9FDC3A58" KeyPath="yes" Source="$(var.ProductSourcePath)\PenImc_cor3.dll" />
+ </Component>
</DirectoryRef>
</Fragment>
<Fragment>
@@ -3666,6 +3669,7 @@
<ComponentRef Id="cmpB57C7D1B8B4D41229C7AEA53A2E1FC7C" />
<ComponentRef Id="cmp6DA0E2825D9646A6959358D042DBC4FE" />
<ComponentRef Id="cmpD1CDA13235324E4EA90A9CFB3EABB34C" />
+ <ComponentRef Id="cmp96588875574749E295496861FFC1DB58" />
</ComponentGroup>
</Fragment>
</Wix>
diff --git a/build.psm1 b/build.psm1
index 17fb59711a..713ce06f36 100644
--- a/build.psm1
+++ b/build.psm1
@@ -3392,7 +3392,8 @@ function Clear-NativeDependencies
$filesToDeleteCore = @($diasymFileName)
- $filesToDeleteWinDesktop = @('penimc_cor3.dll')
+ ## Currently we do not need to remove any files from WinDesktop runtime.
+ $filesToDeleteWinDesktop = @()
$deps = Get-Content "$PublishFolder/pwsh.deps.json" -Raw | ConvertFrom-Json -Depth 20
$targetRuntime = ".NETCoreApp,Version=v7.0/$($script:Options.Runtime)"