Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSTO AddIn Deployment - Can I create single file?

Tags:

c#

.net

c#-4.0

vsto

Quick question - I've finished building an outlook add-in in VS2010, .NET 4.0. I was hoping to deploy it as a single file, as opposed to the collection of files that are in the bin folder. Is there a way to build it as a single file, or any other suggestions on the easiest way to deploy it to multiple users?

Thanks a lot - KCross

like image 497
keynesiancross Avatar asked Dec 05 '25 13:12

keynesiancross


2 Answers

Easiest way to deploy a vsto add-in is using clickonce. For more advanced scenarios it is possible to build a msi package with a vs setup project or wix.

http://msdn.microsoft.com/en-us/library/bb386179.aspx

like image 171
granaker Avatar answered Dec 07 '25 14:12

granaker


I only have experience with Excel, but as far as I know, you need to have a .vsto manifest as well as a .dll, so that pretty much rules out the 'one file' idea. There are likely some files that are not necessary and could be trimmed out (.pdb's come readily to mind), but I think the best approach is NOT to try to squeeze it together as much as possible. Instead, use an installer that can do all the necessary setup for you.

like image 30
Kendall Frey Avatar answered Dec 07 '25 16:12

Kendall Frey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!