Skip to content

Conversation

@Keboo
Copy link
Collaborator

@Keboo Keboo commented Dec 9, 2025

Adds comprehensive documentation to clarify potential ambiguous method call errors that can occur when Moq.AutoMock source generators are enabled across multiple test projects with shared visibility.

Provides detailed instructions on:

  • Why ambiguous reference issues occur (due to generated internal partial classes).
  • Common scenarios leading to these errors.
  • How to resolve these issues by disabling specific source generators using MSBuild properties in the .csproj file.

This update aims to improve user experience by addressing a common pain point and providing clear guidance for configuration.

Relates to #410

Adds documentation explaining ambiguous reference issues caused by internal partial source-generated classes, details how to disable specific generators via MSBuild properties, and updates README navigation to source generator docs.
@Keboo Keboo enabled auto-merge (squash) December 9, 2025 05:26
@Keboo Keboo merged commit 8c31fa9 into master Dec 9, 2025
3 checks passed
@Keboo Keboo deleted the docsUpdate branch December 9, 2025 05:26
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.

2 participants