'Host': static types cannot be used as type arguments (CS0718)
Webreaper opened this issue · 1 comments
Webreaper commented
On the last step, when adding this line:
app.MapRazorComponents<Host>().AddWebAssemblyRenderMode();
I get the following error:
... /Damselfly/Damselfly.Web.Server/Program.cs(13,13): Error CS0718: 'Host': static types
cannot be used as type arguments (CS0718) (Damselfly.Web.Server)
Any ideas?!
Webreaper commented
Ah, got it. Looks like I missed the fact that Host
has been aliased to the Client Host
class:
using Host = Damselfly.Web.Client.Host;