Add directory-scoped agent instructions for deprecated MSBuildTaskHost code - #14136
Merged
rainersigwald merged 3 commits intoJun 23, 2026
Merged
Conversation
Co-authored-by: rainersigwald <3347530+rainersigwald@users.noreply.github.com>
Co-authored-by: rainersigwald <3347530+rainersigwald@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
rainersigwald
June 23, 2026 01:12
View session
rainersigwald
marked this pull request as ready for review
June 23, 2026 01:14
rainersigwald
enabled auto-merge (squash)
June 23, 2026 01:15
Contributor
There was a problem hiding this comment.
Pull request overview
Adds directory-scoped agent guidance for src/MSBuildTaskHost, documenting that the folder is legacy (.NET Framework 3.5 / named-pipe compatibility) and should not be modified except for explicit compatibility/servicing needs.
Changes:
- Introduced
src/MSBuildTaskHost/AGENTS.mdwith explicit “do not edit unless required/explicitly instructed” guidance. - Documented key constraints for the folder (targets .NET Framework 3.5; must keep named-pipe communication compatible) and pointed to the existing
README.md.
JanProvaznik
approved these changes
Jun 23, 2026
rainersigwald
deleted the
copilot/add-agent-instructions-deprecated-folder
branch
June 23, 2026 10:13
This was referenced Jun 24, 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
src/MSBuildTaskHostbuilds the .NET Framework 3.5MSBuildTaskHost.exeand is not under active development. Agents/Copilot have sometimes tried to muck with stuff in here and had to be discouraged.Changes Made
src/MSBuildTaskHost/AGENTS.md— a nestedAGENTS.mddirecting agents not to edit the folder unless explicitly instructed, and noting the .NET Framework 3.5 / named-pipe constraints.AGENTS.md(vs. a Copilot-only.github/instructions/*.instructions.md) for cross-agent compatibility — honored by Copilot's nested-instruction support and Claude alike.README.mdin the folder.Testing
N/A — documentation-only change.
Notes
N/A