Thanks for the reply Ken.
I have created an empty addin with a msgbox in ThisAddIn_StartUp
method and generated a build from the setup project.
I tried to install this build in my development system itself. It is
not working in the development system itself.
But, the addin is working fine in debug mode (when i ran it from
visual studio using F5).
My development system has VS2008 in Windows Vista, Outlook 2007 and
PIAs installed.
I will generate the fusion log and go through it now.
I think, there are no dependencies to the project that are missing, as
I am trying to install it in the development system itself.
Regards
On Jul 16, 11:26*pm, "Ken Slovak - [MVP - Outlook]"
wrote:
Since this is for a VSTO project it really should be posted in the VSTO
forum. However, to debug load problems for managed code, including VSTO, see
this article:http://blogs.msdn.com/vsod/archive/2...ooting-com-add....
The Fusion logs more often than not pinpoint where the problem is.
You also should be using the Framework configuration utility to make sure
that your security settings are propagated to the target machine correctly,
no VSTO addin will load and run without full trust. You also need to make
sure you are deploying the required dependencies for your addin including
the VSTO runtime, Framework, PIA's, etc.
--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm
"Lasyapriya P" wrote in message
...
hi
i got the same problem. i have created an outlook 2007 addin project.
added a setup project and a setSecurity project to the solution.
and then added the outputs of setSecurity and MyAddIn projects to
setup project. Created the registries manually and imported into setup
project`s registry.
i have created the registry entries in a file as follows.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\Addins
\MyOutlookAddIn]
"Description"="MyOutlookAddIn -- an addin created with VSTO
technology"
"Manifest"="[TARGETDIR]MyOutlookAddIn.dll.manifest"
"FriendlyName"="MyOutlookAddIn"
"LoadBehavior"=dword:00000003
"CommandLineSafe"=dword:00000001
In add-in project properties-Signing (Tab)-'Click Once' is checked.
And I have created a test certificate.
Still, the *add-in is not loading. The load behavior is setting to 2
after opening outlook.
I tried to change it to 3 and open outlook but i am getting the same
error.
*Thanks