Skip to content

Add overview section to copilot-instructions.md#55055

Merged
mthalman merged 14 commits into
dotnet:mainfrom
mthalman:copilot-instructions
Jul 1, 2026
Merged

Add overview section to copilot-instructions.md#55055
mthalman merged 14 commits into
dotnet:mainfrom
mthalman:copilot-instructions

Conversation

@mthalman

Copy link
Copy Markdown
Member

Document what the SDK does, its architecture, key files, build/test commands, and the feature/config story.

Document what the SDK does, its architecture, key files, build/test
commands, and the feature/config story.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 29, 2026 16:07
@mthalman mthalman requested a review from lbussell as a code owner June 29, 2026 16:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an “Overview” section to .github/copilot-instructions.md to orient Copilot/agents to the .NET SDK repo, including what the SDK owns, high-level architecture, key directories, and common build/test/dogfood workflows.

Changes:

  • Documented repo purpose/ownership boundaries and how dotnet command resolution works at a high level.
  • Added a “major source areas” map for src/ and a “key files/directories” list.
  • Added quick-start build/test/dogfood scenarios and pointers to README + Developer Guide.

Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
mthalman and others added 3 commits June 29, 2026 12:26
Replace hard-coded Debug redist paths with a <configuration> placeholder
(Debug by default) so guidance doesn't mislead Release builders.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fix missing word and reword awkward inline-code phrasing for readability.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The example previously claimed the repo-local .dotnet while running a bare
dotnet. Use plain `dotnet` so the command works in either a global or
dogfood scenario.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/copilot-instructions.md Outdated
@mthalman mthalman requested a review from jaredpar June 29, 2026 20:59
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
mthalman and others added 2 commits June 30, 2026 12:34
The full suite is very large and long-running; steer agents toward
targeted test-project/test runs and the incremental-test skill instead
of build.cmd -test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the ambiguous bare-`dotnet` vs `./.dotnet/dotnet` guidance with
the canonical build-env approach: build, then load sdk-build-env so a
plain `dotnet` resolves correctly. Tie the Overview single-test example
to the same flow so the two sections agree.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mthalman mthalman requested a review from lbussell June 30, 2026 18:40
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
mthalman and others added 8 commits July 1, 2026 13:39
Keep test/restore scripts listed as key files (they orient newcomers to
what is in the repo root) but note they are thin wrappers that forward to
build.cmd/build.sh, so it is clear which entry point to use.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… -method

The repo's unit tests (e.g. dotnet.Tests) run on Microsoft.Testing.Platform
via MSTest.Sdk, so the xUnit -method argument is not recognized. Validated
./.dotnet/dotnet exec <assembly>.dll --filter <name> against a fresh build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mthalman mthalman requested a review from lbussell July 1, 2026 18:45
@mthalman mthalman merged commit 694c91b into dotnet:main Jul 1, 2026
29 checks passed
@mthalman mthalman deleted the copilot-instructions branch July 1, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants