Skip to content

Conversation

@T-Gro
Copy link
Member

@T-Gro T-Gro commented Nov 20, 2025

Added instructions for encapsulating code in standalone executables and including PR commentary.


Internal previews

📄 File 🔗 Preview link
.github/copilot-instructions.md .NET Documentation Guidelines

Added instructions for encapsulating code in standalone executables and including PR commentary.
Copilot AI review requested due to automatic review settings November 20, 2025 15:02
@T-Gro T-Gro requested a review from a team as a code owner November 20, 2025 15:02
@dotnetrepoman dotnetrepoman bot added this to the November 2025 milestone Nov 20, 2025
@T-Gro T-Gro requested review from BillWagner and gewarren November 20, 2025 15:02
Copilot finished reviewing on behalf of T-Gro November 20, 2025 15:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds new guidelines for handling code snippets in the .NET documentation, specifically requiring that code be encapsulated in standalone executables and tested, with results documented in PR comments.

Key Changes

  • Added requirement to encapsulate code in standalone executables (e.g., using dotnet fsi or dotnet run)
  • Mandated inclusion of PR commentary demonstrating code execution results
  • Minor formatting update to line 73 (trailing whitespace)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

This is good, with one typo to fix.

@BillWagner BillWagner enabled auto-merge (squash) November 20, 2025 16:00
@BillWagner BillWagner merged commit 3862c0b into main Nov 20, 2025
11 checks passed
@BillWagner BillWagner deleted the T-Gro-patch-try-to-execute-code branch November 20, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants