Skip to content

Conversation

@filzrev
Copy link
Contributor

@filzrev filzrev commented Apr 2, 2025

This PR fix issue that relating to #10542.

Currently docfx don't report analyzer found but failed to load.
This PR add AnalyzerLoadFailed event handler. and add logics to report as warning.

Example warning message

warning: FailedToLoadAnalyzer: Failed to load .NET Analyzer. AnalyzerName: Microsoft.CodeAnalysis.Razor.Compiler, ErrorCode: ReferencesNewerCompiler, ReferencedCompilerVersion: 4.14.0.0

@yufeih yufeih merged commit 3b619b7 into dotnet:main Apr 9, 2025
9 checks passed
This was referenced Oct 24, 2025
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