Dynamic components stopped working
AlexanderZender opened this issue · comments
Hello,
in our Blazor Boilerplate based application, the components that are based on the DynamicComponentContainer stopped working overnight.
I also downloaded the latest release of Blazorboilerplate to ensure it isn't only our application:
As you can see, the nav menu, footer and toprightmenu is not rendered.
When inspecting the dev tool in edge, the component name appears with some id(?)
This issue started this week with 2 different laptops (mac and windows) and different browsers.
Do you have any ideas what might have caused this?
Oh yes, this error happened when we updated Visual Studio version 17.6 I believe. Either downgrade your VS version or upgrade to
Microsoft Visual Studio Community 2022 (64-bit) - Preview
Version 17.7.0 Preview 1.0
There is plenty of documented cases of that version of VS being bad with Blazor.
FYI: https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#17.6.3
A regression was introduced into the razor compiler that broke certain tag helpers with explicit partial classes. Until this bug is fixed customers can work around by pinning back to the 7.0.203 SDK.