VSTO Add-In Deployment

  • Thread starter Thread starter Paulem0071
  • Start date Start date
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!
 
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.
 
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.
 
Back
Top