I have a Razor class library with a Blazor component and want to set a namespace for that component but I get a compile error:
@namespace MY.UI.Blazor.Component;
And I get the following compile error:
Error RZ1014: The 'namespace' directive expects a namespace name.
remove the ;
Docs are here .
@namespace MY.UI.Blazor.Component
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.