{{ message }}
[release/v7.5.6] Move _GetDependencies MSBuild target from dynamic generation in build.psm1 into Microsoft.PowerShell.SDK.csproj#27164
Merged
adityapatwardhan merged 1 commit intoPowerShell:release/v7.5.6from Apr 3, 2026
Conversation
…ild.psm1` into `Microsoft.PowerShell.SDK.csproj` (PowerShell#27052) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com> Co-authored-by: Travis Plunk <travis.plunk@microsoft.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Backports the main-branch change to make the _GetDependencies MSBuild target a first-class part of the Microsoft.PowerShell.SDK project, simplifying Start-TypeGen and improving native command failure handling in the build tooling on the release/v7.5.6 branch.
Changes:
- Added the
_GetDependenciesMSBuild target directly tosrc/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj. - Removed dynamic
.targetsfile generation fromStart-TypeGeninbuild.psm1. - Wrapped
dotnet msbuildanddotnet runinStart-NativeExecutionfor consistent exit-code/error handling.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
daxian-dbw
approved these changes
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Backport of #27052 to release/v7.5.6
Triggered by @adityapatwardhan on behalf of @app/copilot-swe-agent
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Ensures the SDK project carries the _GetDependencies target directly on the release/v7.5.6 branch and keeps Start-TypeGen native execution handling consistent for build tooling reliability.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Cherry-pick applied cleanly with no merge conflicts; this backport preserves the already-validated change from main and is scoped to build/type generation plumbing in build.psm1 and Microsoft.PowerShell.SDK.csproj.
Risk
REQUIRED: Check exactly one box.
Low risk because this is a focused build-system maintenance change already merged on main, with no runtime feature behavior changes and no additional conflict resolution needed.