Do not remove penimc_cor3.dll from build (#18438)

This commit is contained in:
Aditya Patwardhan 2022-11-01 17:27:09 -07:00 committed by GitHub
parent c16521ac87
commit f9b6d12dde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -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)"