Skip to content

Specify .NET Search by Build Type #25837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants