关于[Using Source Generators with Blazor components in .NET 6]的摘要:
In this post I describe a problem I discovered when upgrading my Blazor app to .NET 6. Source generators that were working fine in .NET 5 failed to discover the Blazor components in my app, due to changes in the Razor compilation process. In this post I describe why it happened and show a workaround.
原文地址: https://andrewlock.net/using-source-generators-with-blazor-in-dotnet-6/