[英]the @namespace directive is not working in Blazor
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:我有一个带有 Blazor 组件的 Razor 类库,想为该组件设置命名空间,但出现编译错误:
@namespace MY.UI.Blazor.Component;
And I get the following compile error:我收到以下编译错误:
Error RZ1014: The 'namespace' directive expects a namespace name.
错误 RZ1014:“命名空间”指令需要命名空间名称。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.