更改 VSTO 项目的默认命名空间
是否可以更改 VSTO 项目的默认命名空间?...我尝试在记事本中打开项目文件并将 rootnamespace
xml 参数更改为我所需的新名称,但无法加载Word 启动时的加载项。它会引发一般运行时错误。我怀疑清单仍然指向以前的名称空间。
有什么想法吗?
Is it possible to change the default namespace of a VSTO project?... I've tried opening the project file in notepad and changing the rootnamespace
xml param to my new desired name, but it fails to load the add-in when Word starts. It throws a generic runtime error. I suspect that the manifest still points to the previous namespace.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“官方声明”,您无法更改 VSTO 项目的默认命名空间。但有一种方法,通过编辑项目文件并进行一些查找和替换。 这篇博文解释了如何做到这一点。
"Officially", you cannot change the default namespace of a VSTO project. But there is a way, by editing the project file and doing some find&replace. This blog post explains how to do it.