I have a Blazor component library, which contains a few classes and Blazor components.
I'm trying to reference a Blazor component from within a regular C# class, but I'm getting weirdness happening.
If I reference it where I expect it to be, it all compiles and runs fine
ModalDialogResult result = await ShowDialogAsync<LiquidTechnologies.Blazor.ModalDialog.Components.MessageBoxForm>(title, options, parameters);
But it reports the intellisense error
CS0234 The type or namespace name 'MessageBoxForm' does not exist in the namespace 'LiquidTechnologies.Blazor.ModalDialog.Components' (are you missing an assembly reference?)
It also failed to build in the GitHub Continuous integration environment (with the same intellisense error).
If I use the class name the intellisense finds (__generated__MessageBoxForm), I can't build it in Visual Studio 2019.
Arrrrhhh...
The project is in GitHub at blazor-modal-dialog. The issue is in the file blazor-modal-dialog/src/LiquidTechnologies.Blazor.ModalDialog/Services/ModalDialogService.cs
Looks similar to https://github.com/aspnet/AspNetCore/issues/12446

Componentsnamespace? - Quangoruns-on: windows-latestin the YAML. See github.com/aspnet/AspNetCore/issues/15069 - Sprotty