Skip to content

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

Merged
tmat merged 9 commits intodotnet:mainfrom
tmat:RazorSourceGen
Sep 20, 2022
Merged

Replace Razor Source Generator reference with one loaded from a VSIX#63912
tmat merged 9 commits intodotnet:mainfrom
tmat:RazorSourceGen

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

@ghost ghost added the Area-IDE label Sep 9, 2022
@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?

@tmat tmat enabled auto-merge (squash) September 20, 2022 18:57
@tmat tmat merged commit c46ae61 into dotnet:main Sep 20, 2022
@ghost ghost added this to the Next milestone Sep 20, 2022
@Cosifne Cosifne modified the milestones: Next, 17.4 P3 Sep 26, 2022
@sharwell sharwell added this to the 17.4 P3 milestone Feb 21, 2023
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