View Single Post
  #8  
Old July 16th 09, 10:26 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default No setup project with Outlook 2007 Add-In project

In that case my money is on faulty trust setup.

If it runs in debug mode and not in run mode on the same dev machine it's
almost always a trust issue.

You can easily check that by manually creating a full trust for your
assemblies using the Framework Assistant and seeing if things run then.

The other thing to look at is if the assemblies are strong named. They have
to be unless you grant the installation folder full trust, and that's a bad
idea unless it's just for testing things.

--
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
...
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

Ads