Blazor Project模板 - 某些名称空间不重命名
我正在尝试制作一个大火项目模板。 当我尝试从该模板创建一个项目时,所有名称空间都正确地更改为项目名称,除了_imports.razor
和在Razor中的@usiss
语句中。成分。仍然有与模板中相同的名称空间。
I am trying to make a Blazor project template.
When i try to create a project from that template, all namespaces change properly to the project name, except for that in _Imports.razor
and in the @using
statement in the razor component. There are still the same namespaces as in the template.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我典型的
_imports.razor
在模板中的文件和VSTEM Plate文件中的相关部分:
如果需要上下文,则可以在此处看到整个模板: https://github.com/shauncurtis/blazr.demo.temo.template
Here is one of my typical
_Imports.razor
files in a templateand the relevant section in the vstemplate file:
If you want the context, you can see the whole template here: https://github.com/ShaunCurtis/Blazr.Demo.Template