Rui Manso
Rui Manso

Reputation: 54

Outlook VSTO add-in setup error after installation

I created an addin with VSTO and a setup project with visual studio installer. Im totally new on creating setups... and im getting something weird here (most likely a rookie problem).

I have what follows... enter image description here

When i install, files get deployed into the folder, like below... and i suppose its the way it should be.

enter image description here

But when i try the addin, i get the following error, like if the manifest is pointing to a different path: enter image description here

Then for the sake of testing i copied the manifest into the folder he seeks, like so: enter image description here

And them, the add-in loads correctly...

Though I need some guidance with 2 scenarios:

Please i have this important job to finish at my work and im burning nails...

Many thanks in advance for your time taken to read and help.

Upvotes: 0

Views: 810

Answers (2)

Rui Manso
Rui Manso

Reputation: 54

Started a new project and copied all the code from the previous one... started working. I cannot understand what witchery Visual Studio does some times.

Upvotes: 0

Eugene Astafiev
Eugene Astafiev

Reputation: 49455

Before installing the add-in make sure it is unregistered (if you debugged the project previously there). Also make sure that your installer added Registry entries for VSTO Add-ins on the target machine that correspond to the actual location.

In general, make sure that you did all the steps describe in the following articles (depends on what installer you chose for deploying the add-in):

Upvotes: 1

Related Questions