Repository navigation
Enable SAC group config for MSBuild.exe.config in VS - #14739
Merged
Merged
Conversation
- files.swr / files.arm64.swr: install MSBuild.exe.config as MSBuild.exe.config.template with vs.file.useGroupConfig="devenv" and vs.file.overwriteBindingRedirects=yes, so it joins the devenv SAC group and its binding redirects get merged in. - eng/Versions.props: bump MicrosoftVisualStudioEngMicroBuildPluginsSwixBuildVersion to 1.1.973 (the property Tools.csproj actually consumes) since the SAC group-config properties require this newer SwixBuild toolset. Note: 1.1.973 is not resolvable from any currently configured feed; it must already be present in the local/CI NuGet cache to restore successfully. Co-authored-by: Copilot <[email protected]> Copilot-Session: 7f53f2b5-a548-4e93-a070-be310016004b
pieandcakes
temporarily deployed
to
copilot-pat-pool
August 18, 2026 21:10 — with
GitHub Actions
Inactive
pieandcakes
temporarily deployed
to
copilot-pat-pool
August 18, 2026 21:10 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Visual Studio insertion packaging so MSBuild.exe.config participates in VS “group config” (SAC) merging, ensuring binding redirects are merged rather than copied verbatim.
Changes:
- Install
MSBuild.exe.configasMSBuild.exe.config.templateand enable group-config + binding-redirect merging for x86/x64/arm64 insertion components. - Update the SwixBuild toolset version property used by the internal tooling project to a newer version needed for those SWR properties.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Package/MSBuild.VSSetup/files.swr | Installs MSBuild.exe.config as a template and opts into devenv group-config binding redirect merging (x86/x64). |
| src/Package/MSBuild.VSSetup.Arm64/files.arm64.swr | Same template + group-config/binding redirect merge behavior for arm64. |
| eng/Versions.props | Updates the SwixBuild package version property consumed by eng/common/internal/Tools.csproj. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
AlesProkop
approved these changes
Aug 20, 2026
rainersigwald
approved these changes
Aug 20, 2026
This was referenced Aug 20, 2026
rainersigwald
added a commit
that referenced
this pull request
Aug 24, 2026
Improves a flaky test that hit #14739 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1558196&view=ms.vss-test-web.build-test-results-tab&runId=42974686&resultId=110072&paneView=debug ### Context `ComReferenceWalker_Tests.DefinedFunction` failed with no helpful information. ### Changes Made - Capture and print the walker's full encountered exceptions through `ITestOutputHelper`. - Assert that the walker completed without COM errors before checking dependencies. - Include the expected typelib name and GUID plus all actual dependency GUIDs in assertion failures. - Use Shouldly for the modified assertions. Copilot-Session: 09a398e0-55a9-4dfa-9dbb-2d848114f715
This was referenced Aug 25, 2026
2 tasks
JanProvaznik
added a commit
to JanProvaznik/msbuild
that referenced
this pull request
Nov 7, 2026
The actual LTSC experiment exposed native-image loss in every x86/x64 MSBuild worker and task host: target11/11 use IL versus baseline10/10 native images, causing the two reproducible JIT counter regressions. The earlier servicing adaptation removed the VS devenv SAC composition while retaining a different unused SWIX version property. Restore the complete upstream dotnet#14739 VS packaging contract for x86, x64 and ARM64, including the exact SwixBuild property consumed by Tools.csproj at1.1.973. Keep all engine code, .NET10 runtime/compiler targets and existing maintenance/security package pins unchanged. Actual experimental native-image/performance requalification is required. Co-authored-by: Copilot App <[email protected]>
This branch was previously deployed
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 #
Context
Changes Made
Testing
Notes