From 9e57dc7dbeeb4a142ff3b9882d4dd672ca73fc40 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 23 Jan 2026 14:23:22 +0000 Subject: [PATCH] Update instructions to require automatically building and formatting (#3412) --- .github/copilot-instructions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 352d0b22f7..5866f1f895 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -14,6 +14,8 @@ Here are some general guidelines that apply to all code. - The top of all *.cs files should have a copyright notice: `// Copyright (c) Microsoft. All rights reserved.` - All public methods and classes should have XML documentation comments. +- After adding, modifying or deleting code, run `dotnet build`, and then fix any reported build errors. +- After adding or modifying code, run `dotnet format` to automatically fix any formatting errors. ### C# Sample Code Guidelines