Reputation: 1575
What are the options if I want to deploy add-ins for various Office Apps?
Can my Solution
contain several VSTO Projects
? For example one Excel AddIn, one Word AddIn, and one PowerPoint AddIn.
Should I have/need each AddIn in a separate Solution
? In particular if I run Excel, and later run Word without closing Excel: do I end up with two distinct instances running in parallel?
Some of my classes are used by several AddIns, so it is more convenient to have everything in one Solution
. That would also make deployment and updates easier. However I could always export the classes in a standalone DLL Project
and reference that DLL in each Solution
.
Upvotes: 1
Views: 552
Reputation: 3529
So to follow up on your comments, publishing and execution are project-based. That's why Visual Studio has a StartUp project. So it seems like multiple projects in one solution should work.
But if you want to debug multiple add-ins at the same time you're going to need two instances of Visual Studio, so you might as well keep them in separate solutions. If you want to debug only one, you could publish one, run it, and then launch the other from VS.
If you're sharing code among them, You still can, and should, keep a common project loaded in both and afaik it will work just fine.
Upvotes: 1