Document MSBuildTaskHost compatibility constraints - #13640
#13640Merged
baronfel merged 2 commits intoApr 28, 2026
maindotnet/msbuild:mainfrom
copilot/add-readme-for-visual-studio-assetsdotnet/msbuild:copilot/add-readme-for-visual-studio-assetsCopy head branch name to clipboard
Merged
Document MSBuildTaskHost compatibility constraints#13640baronfel merged 2 commits intomaindotnet/msbuild:mainfrom copilot/add-readme-for-visual-studio-assetsdotnet/msbuild:copilot/add-readme-for-visual-studio-assetsCopy head branch name to clipboard
baronfel merged 2 commits into
maindotnet/msbuild:mainfrom
copilot/add-readme-for-visual-studio-assetsdotnet/msbuild:copilot/add-readme-for-visual-studio-assetsCopy head branch name to clipboard
Conversation
Agent-Logs-Url: https://github.com/dotnet/msbuild/sessions/5f961099-f265-49ab-8d5a-0267fc3a5be1 Co-authored-by: rainersigwald <3347530+rainersigwald@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
rainersigwald
April 28, 2026 09:10
View session
rainersigwald
approved these changes
Apr 28, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds documentation to clarify why src/MSBuildTaskHost exists and what constraints apply to it (legacy Visual Studio asset compatibility, .NET Framework 3.5 targeting, and interoperability requirements), helping avoid unintended “cleanup” changes in a sensitive compatibility area.
Changes:
- Added a README describing
MSBuildTaskHost’s compatibility purpose and constraints. - Explicitly calls out the .NET Framework 3.5 target and named-pipe interoperability requirement.
- Advises against style-only/modernization edits unless required for compatibility/servicing.
OvesN
approved these changes
Apr 28, 2026
baronfel
approved these changes
Apr 28, 2026
This was referenced Apr 28, 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.
Context
MSBuildTaskHostis kept for Visual Studio asset compatibility for some legacy project types. It targets .NET Framework 3.5, must interoperate with the rest of MSBuild, and is not an active development area.Changes Made
src/MSBuildTaskHost/README.mdTesting
Notes