Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the default namespace of a VSTO project

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?

like image 266
devHead Avatar asked Oct 04 '11 16:10

devHead


1 Answers

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

like image 152
Matthias Avatar answered Sep 28 '22 02:09

Matthias