Skip to content

Correct stale Roslyn guidance references - #85211

Merged
akhera99 merged 3 commits into
mainfrom
copilot/weekly-ai-artifact-hygiene-audit
Sep 9, 2026
Merged

akhera99 merged 3 commits into
mainfrom
copilot/weekly-ai-artifact-hygiene-audit

Conversation

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The AI guidance contained a misleading compiler build target and an unclear Razor services file location.

  • Compiler guidance: Point the build example to the actual project file:
    dotnet build src/Compilers/CSharp/csc/AnyCpu/csc.csproj
  • Razor guidance: Explicitly identify eng\targets\RazorServices.props as a repo-root file, not part of src\Razor.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Co-authored-by: akhera99 <40616383+akhera99@users.noreply.github.com>
Copilot AI changed the title [WIP] Update stale Roslyn guidance links in AI artifact audit Correct stale Roslyn guidance references Sep 8, 2026
Copilot AI requested a review from akhera99 September 8, 2026 21:20
@akhera99
akhera99 marked this pull request as ready for review September 8, 2026 22:04
@akhera99
akhera99 requested review from a team as code owners September 8, 2026 22:04
Copilot AI lite review requested due to automatic review settings September 8, 2026 22:04
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

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.

🟢 Approval recommended

The changes are narrowly-scoped documentation clarifications and are consistent with the stated intent and the current instruction file contents.

Pull request overview

This PR updates Roslyn’s AI agent instruction docs to remove ambiguous/stale guidance and make the referenced build/file paths explicit and actionable.

Changes:

  • Updates the compiler build example to point to the concrete csc.csproj project file instead of a directory.
  • Clarifies that eng\targets\RazorServices.props is a repo-root file (not under src\Razor) when registering Razor OOP services.
File summaries
File Description
.github/instructions/Compiler.instructions.md Fixes the C# compiler build command to reference src/Compilers/CSharp/csc/AnyCpu/csc.csproj.
.github/instructions/Razor.instructions.md Clarifies that eng\targets\RazorServices.props is a repo-root file for Razor service registration.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

Comment thread .github/instructions/Compiler.instructions.md Outdated
Co-authored-by: akhera99 <40616383+akhera99@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 9, 2026 00:14

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.

🟡 Changes recommended

The PR description/linked issue also calls for updating the compiler build example, but .github/instructions/Compiler.instructions.md still contains the stale dotnet build src/Compilers/CSharp/csc/AnyCpu/ guidance.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/instructions/Razor.instructions.md
@akhera99
akhera99 merged commit 9598a3c into main Sep 9, 2026
4 of 6 checks passed
@dotnet-policy-service dotnet-policy-service Bot added this to the Next milestone Sep 9, 2026
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.

[AI artifact audit] Weekly AI artifact hygiene audit: stale Roslyn guidance links

6 participants