Repository navigation
Use version-independent directories for WPF build tasks - #10741
Merged
akoeplinger merged 1 commit intoNov 5, 2026
Merged
Conversation
Package PresentationBuildTasks under tools/net and tools/netframework and select the assembly by the MSBuild host runtime. Keep SDK crossgen compatible with existing versioned WPF packages and document when to remove that fallback. Co-authored-by: Copilot App <[email protected]>
|
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. |
ViktorHofer
approved these changes
Nov 5, 2026
This was referenced Nov 10, 2026
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.
Summary
Package
PresentationBuildTasksundertools/netfor Core MSBuild andtools/netframeworkfor .NET Framework MSBuild, and updateMicrosoft.WinFX.targetsto select the matching directory. The assembly target frameworks remain unchanged.This prevents the task-loading failure blocking #10718: bootstrap SDK
12.0.100-alpha.1.26554.104containstools/net12.0/PresentationBuildTasks.dll, but its WinFX targets selecttools/net11.0.Validation
PresentationBuildTasks.csprojfor bothnet12.0andnet472on macOS ARM64.Build;Packon the realMicrosoft.NET.Sdk.WindowsDesktop.ArchNeutral.csprojwith a fresh packaging directory. Inspected the resulting nupkg:tools/net/PresentationBuildTasks.dllandtools/netframework/PresentationBuildTasks.dlleach match their freshly built outputs, with all 13 matching satellite assemblies per host. The package includes the matching WinFX selectors and SDK imports, with no versioned task folders.MarkupCompilePass1through the staged package'sMicrosoft.WinFX.targets, loadingtools/net/PresentationBuildTasks.dll.net12.0/net13.0and Frameworknet472/net48; all match the stable-directory selectors.Roslyn.SyntaxVisualizer.Control.csprojandMicrosoft.CodeAnalysis.EditorFeatures.csprojusing the exact bootstrap SDK with its task files manually rearranged into the stable layout on macOS ARM64.Windows
MSBuild.exe/Visual Studio and design-time build behavior have not been exercised locally. The Roslyn builds use Core MSBuild, even when their projects target .NET Framework.