Skip to content
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

Replace Razor Source Generator reference with one loaded from a VSIX #63912

Merged
merged 9 commits into from
Sep 20, 2022

Conversation

tmat
Copy link
Member

@tmat tmat commented Sep 9, 2022

When analyzers are being added by the project system, replace Razor source generator and its dependencies as they ship in SDK with new source generator and its dependencies from VSIX.

Related Razor change: dotnet/razor#6821

@tmat tmat marked this pull request as ready for review September 12, 2022 22:03
@tmat tmat requested a review from a team as a code owner September 12, 2022 22:03
@tmat
Copy link
Member Author

tmat commented Sep 12, 2022

Copy link
Member

@jasonmalinowski jasonmalinowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add tests for this?

return GetOrCreateProviderOnMainThread();
}

private VisualStudioDiagnosticAnalyzerProvider GetOrCreateProviderOnMainThread()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just inline this into the earlier function at this point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants