开发者

Change the default namespace of a VSTO project

开发者 https://www.devze.com 2023-04-11 05:24 出处:网络
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 lo

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 th开发者_JAVA技巧e add-in when Word starts. It throws a generic runtime error. I suspect that the manifest still points to the previous namespace.

Any ideas?


"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.

0

精彩评论

暂无评论...
验证码 换一张
取 消