KEMBAR78
Specify .NET Search by Build Type by jshigetomi · Pull Request #25837 · PowerShell/PowerShell · GitHub
Skip to content

Conversation

@jshigetomi
Copy link
Collaborator

PR Summary

This pull request updates the build configuration logic to better distinguish between different deployment types and set related properties more clearly. The main changes introduce an AppDeployment property that controls where the app host should be searched for, improving clarity and maintainability for framework-dependent, global tool, and self-contained deployments.

Build configuration improvements:

  • Added new AppDeployment property in build.psm1 to explicitly specify deployment type (GlobalTool, FxDependent, or SelfContained), replacing the previous approach of directly toggling properties based on runtime options.
  • Updated PowerShell.Common.props to define AppHostDotNetSearch based on the new AppDeployment property, ensuring the correct search locations are used for each deployment scenario.

PR Context

PR Checklist

@jshigetomi jshigetomi requested a review from a team as a code owner August 7, 2025 17:51
@jshigetomi
Copy link
Collaborator Author

Updated version of #24992

@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Aug 18, 2025
@jshigetomi
Copy link
Collaborator Author

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@jshigetomi jshigetomi merged commit 111a8e4 into master Aug 21, 2025
42 checks passed
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Aug 21, 2025

📣 Hey @@jshigetomi, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@jshigetomi jshigetomi mentioned this pull request Aug 21, 2025
21 tasks
@daxian-dbw daxian-dbw deleted the specifyDotnetSearch branch August 21, 2025 17:20
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