Skip to content

Commit

Permalink
on crossgen non-PowerShell binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisEz13 committed Apr 17, 2020
1 parent 0f6f362 commit 34ce76f
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions build.psm1
Expand Up @@ -2361,29 +2361,7 @@ function Start-CrossGen {
"Microsoft.ApplicationInsights.dll"
)

# Common PowerShell libraries to crossgen
$psCoreAssemblyList = @(
"pwsh.dll",
"Microsoft.PowerShell.Commands.Utility.dll",
"Microsoft.PowerShell.Commands.Management.dll",
"Microsoft.PowerShell.Security.dll",
"Microsoft.PowerShell.ConsoleHost.dll",
"System.Management.Automation.dll"
)

# Add Windows specific libraries
if ($environment.IsWindows) {
$psCoreAssemblyList += @(
"Microsoft.PowerShell.CoreCLR.Eventing.dll",
"Microsoft.WSMan.Management.dll",
"Microsoft.WSMan.Runtime.dll",
"Microsoft.PowerShell.Commands.Diagnostics.dll",
"Microsoft.PowerShell.GraphicalHost.dll",
"Microsoft.Management.Infrastructure.CimCmdlets.dll"
)
}

$fullAssemblyList = $commonAssembliesForAddType + $psCoreAssemblyList
$fullAssemblyList = $commonAssembliesForAddType

foreach ($assemblyName in $fullAssemblyList) {
$assemblyPath = Join-Path $PublishPath $assemblyName
Expand Down

0 comments on commit 34ce76f

Please sign in to comment.