Skip to content

Add guidance on identifying conflicting assemblies in CS0433 compiler error documentation #47379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 15, 2025

This PR addresses a user's difficulty in identifying which assemblies are causing CS0433 compiler errors. The issue was that while the error message contains the assembly information, users weren't sure how to extract this information from the error message format.

Changes Made

Added a new section "How to identify the conflicting assemblies" to the CS0433 documentation that:

  • Explains the error message format with a concrete example
  • Shows how assembly names appear in single quotes before version information
  • Provides actionable guidance on using the assembly names to resolve conflicts

Example

The new section shows users how to read error messages like:

error CS0433: The type 'N.C' exists in both 'A, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'B, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

And explains that the conflicting assemblies are A and B (the names in single quotes).

Validation

  • ✅ Passes markdown linting with zero errors
  • ✅ Follows Microsoft Writing Style Guide (sentence case, active voice, present tense, imperative mood)
  • ✅ Minimal change that doesn't modify existing working content
  • ✅ Directly addresses the user's troubleshooting need

Fixes #27598.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/compiler-messages/cs0433.md docs/csharp/language-reference/compiler-messages/cs0433

@Copilot Copilot AI changed the title [WIP] add info on how to find the associated assemblies Add guidance on identifying conflicting assemblies in CS0433 compiler error documentation Jul 15, 2025
@Copilot Copilot AI requested a review from BillWagner July 15, 2025 15:28
Copilot finished work on behalf of BillWagner July 15, 2025 15:28
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 LGTM.

I'll mark it ready for final review.

@BillWagner BillWagner requested a review from IEvangelist July 16, 2025 15:26
@BillWagner BillWagner marked this pull request as ready for review July 16, 2025 15:26
@BillWagner BillWagner requested a review from a team as a code owner July 16, 2025 15:26
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.

add info on how to find the associated assemblies
2 participants