Skip to content

Only apply DotNetBuildMT on core msbuild - #9230

Merged
ViktorHofer merged 2 commits into
mainfrom
ViktorHofer-patch-2
Sep 10, 2026
Merged

ViktorHofer merged 2 commits into
mainfrom
ViktorHofer-patch-2

Conversation

@ViktorHofer

@ViktorHofer ViktorHofer commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Move multi-threaded build options to targets and fix Windows only condition.

Removed multi-threaded build options from CommonArgs.
Copilot AI lite review requested due to automatic review settings September 10, 2026 12:02
@ViktorHofer
ViktorHofer requested review from a team as code owners September 10, 2026 12:02
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Reintroduced dotnet msbuild usage conditionally and added multi-threading options for builds.

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.

Copilot review overview

🟡 Changes recommended

Removing the DotNetBuildMT→mt flow here appears to make the -mt/-msbuildMultiThreaded setting ineffective for repo builds without a replacement scoped to msbuild.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Lite
Findings: 1 Medium severity

New issues introduced by this change (1)
Severity Finding
Medium severity repo-projects/​Directory.Build.props — With the DotNetBuildMT->mt flow removed here, DotNetBuildMT currently has no remaining…
What changed in this PR

This PR updates the VMR repo-build orchestration to stop forwarding MSBuild multi-threaded build flags via CommonArgs, with the stated goal of limiting DotNetBuildMT behavior to “core msbuild” rather than applying it to all repo builds.

Changes:

  • Removed the DotNetBuildMT-based mt argument forwarding from CommonArgs in the repo-project build props.
File Description
repo-projects/​Directory.Build.props Removes global forwarding of DotNetBuildMT into per-repo build script arguments (mt 1/0).

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

Comment thread repo-projects/Directory.Build.props Resolved
@ViktorHofer
ViktorHofer enabled auto-merge (squash) September 10, 2026 13:57
@ViktorHofer
ViktorHofer merged commit fb77dc3 into main Sep 10, 2026
11 checks passed
@ViktorHofer
ViktorHofer deleted the ViktorHofer-patch-2 branch September 10, 2026 14:25
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.

3 participants