11

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?

Deduplicator
  • 44,692
  • 7
  • 66
  • 118
devHead
  • 794
  • 1
  • 15
  • 38

1 Answers1

12

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

Matthias
  • 1,759
  • 16
  • 34