Repository navigation
[release/11.0] Remove JsonToItemsTaskFactory - #137426
Merged
akoeplinger merged 1 commit intoNov 16, 2026
Merged
Conversation
Backport dotnet#134221, preserving release/11.0 JSON outputs. Co-authored-by: Rainer Sigwald <[email protected]> Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 4 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
AR-May
marked this pull request as ready for review
November 12, 2026 16:23
AR-May
requested review from
akoeplinger,
ilonatommy,
lewing,
maraf,
steveisok and
vitek-karas
as code owners
November 12, 2026 16:23
This was referenced Nov 12, 2026
maraf
approved these changes
Nov 13, 2026
Member
Author
|
/azp run runtime |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Member
Author
|
/azp run runtime |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
This was referenced Nov 13, 2026
Member
|
Hi, the code complete date for 11.0.1 (the December 2026 release) is Monday 16 November. Make sure to merge this PR on that date at the latest, or it won't make it into that release. As a reminder, if this is a product change, you also need Tactics approval before merging this PR (test-only or infra-only changes don't require Tactics approval). Happy to help with the merge if needed! |
Member
Author
Member
Author
|
/ba-g all failures are known, see my comment above. |
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.
Fixes Issue dotnet/msbuild#15010 (.NET 10 backport).
main PR #134221.
Description
The WebAssembly and Mono workload targets use a custom MSBuild task factory (JsonToItemsTaskFactory) for some of the tasks. Because MSBuild's multithreaded mode (-mt) does not support custom task factories, tasks fail in the MSBuild multithreaded mode.
Since the factory is shipped in TFM-specific workload packs, fixing it in main is not sufficient. The fix must also be backported to older workload versions to ensure that projects targeting older .NET TFMs can be built with newer SDKs without requiring users to opt out of MSBuild multithreaded mode once it is enabled by default.
Customer Impact
WebAssembly and other Mono-based workload builds may fail when MSBuild's multithreaded mode (
-mt) is enabled. With this change they build normally. Builds not using MSBuild's multithreaded mode are unaffected either way.Regression
Testing
Added unit tests. Tested build locally on a synthetic solution.
Risk
Low. The change is small and affects only two build tasks. The
JsonToItemsTaskFactoryis removed. It was visible as a public class in the published package. This extensibility point (custom task factories) inside MSBuild is not well known and we expect no one usingJsonToItemsTaskFactory.