Reputation: 231
I am currently having issues when deploying my Outlook Addin. When I sent the Addin off to QA these are the only 2 issues that she found. I have browsed the intranet for hours now and cannot find a solution to my 2 issues.
Some details first:
My First issue is that when I install my addin the location in the Outlook Options is pointing to the vsto file and not the .Dll file. I need it to install to the default outlook directry and reference the .dll and not the vsto file.
My second issue is that even though I have filled out every "Publish" field in Visual Studio it still says Publish in the Outlook Options window. I did find out that this could have something to do with my signed certificate.
I have no idea how to fix these two issues and instead of wasting more time searching I thought I could ask for some help.
Here is a picture that shows my 2 issues when Installed on my PC (Dev PC):
Here is a picture that shows my 2 issues when Installed on somebody elses PC:
All help is appreciated. Thanks in advance!!
Upvotes: 3
Views: 233
Reputation: 1072
Issue 1 is normal for the basic Outlook-Addin project. For it to reference the dll in the location field you will need to create a raw addin.
You will need to remove the VSTO layer from the project then you will need to expose and register your own _IDTExtensbility2 interface implementation. Here is a start to give you an idea of what route you need to take: http://msdn.microsoft.com/en-us/library/extensibility.idtextensibility2(v=vs.90).aspx
Issue 2 I believe you are correct it does have something to do with the signed certificate. When you buy or create a valid Certificate it will include your Publisher inside it, it should then display in the options window.
I hope I have helped a little and set your on the right track :)
Upvotes: 3