Skip to content

Make single-target local builds opt-in - #10359

Merged
tobias-tengler merged 1 commit into
mainfrom
make-single-target-local-build-opt-in
Sep 6, 2026
Merged

Make single-target local builds opt-in#10359
tobias-tengler merged 1 commit into
mainfrom
make-single-target-local-build-opt-in

Conversation

@tobias-tengler

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings September 6, 2026 11:09

Copilot AI left a comment

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.

🟢 Approval recommended

The change cleanly separates single-target builds behind an explicit opt-in flag, with only a minor wording nit identified.

Pull request overview

Adjusts local-development build behavior so that building only a single target framework is an explicit opt-in, while keeping other “local dev” MSBuild tweaks available independently.

Changes:

  • Split the “single-target framework” MSBuild behavior behind a new opt-in flag (DOTNET_LOCAL_DEV_SINGLE_TARGET_FRAMEWORK).
  • Update the backend devcontainer environment to default single-target builds to off while keeping DOTNET_LOCAL_DEV configurable.
File summaries
File Description
src/Directory.Build.props Renames the MSBuild condition controlling single-target local builds to a dedicated opt-in property.
.devcontainer/backend/devcontainer.json Passes through/sets local-dev env vars, defaulting single-target builds to disabled.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/Directory.Build.props
@tobias-tengler
tobias-tengler merged commit 29f3846 into main Sep 6, 2026
152 checks passed
@tobias-tengler
tobias-tengler deleted the make-single-target-local-build-opt-in branch September 6, 2026 12:53
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