VSTO Add-In Deployment

P

Paulem0071

I am using VSTO 3.x with for use with an Outlook 2007 Add-In. I cannot
figure out how to deploy the stupid thing.

I have tried Publish. The installation runs, but get a "Not Loaded. A
runtime error occurred during the loading of the COM Add-in" error.

I also tried creating a setup project, but have been unsuccessful there as
well as my DLL refuses to load.

Is there a proven reference document for deployment somewhere? The docs I
have found do not help.

Thanks!
 
P

Paulem0071

Figured it out. Did not select the Office Primary Interop Assemblies as a
Prerequisite. You DO need them, even if Office2007 is already installled on
the target.
 
K

Ken Slovak - [MVP - Outlook]

You need them as prereq's yes. If Framework is installed prior to
installation of Office 2007 they should be installed automatically unless a
custom installation prevents installation of the PIA's but best practice is
to always check for the prereq's and install them if they're not there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top