Skip to content

Generate and deploy reference assembly for Microsoft.PowerShell.Commands.Utility.dll - #8716

Merged
Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
daxian-dbw:utilityRef
Jan 23, 2019
Merged

Generate and deploy reference assembly for Microsoft.PowerShell.Commands.Utility.dll#8716
Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
daxian-dbw:utilityRef

Conversation

@daxian-dbw

@daxian-dbw Dongbo Wang (daxian-dbw) commented Jan 23, 2019

Copy link
Copy Markdown
Member

PR Summary

Update New-ReferenceAssembly and New-UnifiedNugetPackage to generate reference assembly for Microsoft.PowerShell.Commands.Utility.dll and properly deploy it for Microsoft.PowerShell.Commands.Utility NuGet package and Microsoft.PowerShell.SDK NuGet package.

An incremental step to fix, eventually, #8121

PR Context

PR Checklist

Comment thread tools/packaging/packaging.psm1 Outdated

$projectFolder = New-Item -Path "$genAPIFolder/$assemblyName" -ItemType Directory -Force
$generatedSource = Join-Path $projectFolder "$assemblyName.cs"
$filteredSource = Join-Path $projectFolder "${assembly}_Filtered.cs"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"${assemblyName}_Filtered.cs" ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! The filteredSource file is a temporary file and is renamed to $generatedSource after use, that's why I didn't catch it when verifying the changes.

Comment thread tools/packaging/packaging.psm1
Comment thread tools/packaging/packaging.strings.psd1 Outdated
<LangVersion>Latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Management.Infrastructure" Version="1.0.0-alpha08" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Comment thread tools/packaging/packaging.strings.psd1
Comment thread tools/packaging/packaging.strings.psd1
@adityapatwardhan

Copy link
Copy Markdown
Member

Travis Plunk (@TravisEz13) Paul Higinbotham (@PaulHigin) Please have another look.

@TravisEz13
Travis Plunk (TravisEz13) merged commit 86516ad into PowerShell:master Jan 23, 2019
@daxian-dbw
Dongbo Wang (daxian-dbw) deleted the utilityRef branch January 23, 2019 19:57
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
…nds.Utility.dll (PowerShell#8716)

Update `New-ReferenceAssembly` and `New-UnifiedNugetPackage` to generate reference assembly for `Microsoft.PowerShell.Commands.Utility.dll` and properly deploy it for `Microsoft.PowerShell.Commands.Utility` NuGet package and `Microsoft.PowerShell.SDK` NuGet package.

An incremental step to fix, eventually, PowerShell#8121
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
…nds.Utility.dll (PowerShell#8716)

Update `New-ReferenceAssembly` and `New-UnifiedNugetPackage` to generate reference assembly for `Microsoft.PowerShell.Commands.Utility.dll` and properly deploy it for `Microsoft.PowerShell.Commands.Utility` NuGet package and `Microsoft.PowerShell.SDK` NuGet package.

An incremental step to fix, eventually, PowerShell#8121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants