![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi In vs 2008 when I create an Outlook 2003 Add-In project it automatically creates an associated setup project too. But when I create an Outlook 2007 Add-In project it does not automatically creates an associated setup project too. What is going on? Thanks Regards |
#3
| |||
| |||
|
|
Create one manually then. -- 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 "John" <info (AT) nospam (DOT) infovis.co.uk> wrote in message news:OooWqKbAKHA.4608 (AT) TK2MSFTNGP02 (DOT) phx.gbl... Hi In vs 2008 when I create an Outlook 2003 Add-In project it automatically creates an associated setup project too. But when I create an Outlook 2007 Add-In project it does not automatically creates an associated setup project too. What is going on? Thanks Regards |
#4
| |||
| |||
|
|
Hi I added the project out put but that did not work. I tried to manually add the MyAddin.dll to OL2007's addins on target machine but it says "...is not a valid add-in." Thanks Regards |
#5
| |||
| |||
|
|
Is this on a machine where Outlook 2007 is installed? That would be required. In addition you can't just add an Outlook addin, it has to be registered correctly. If it's not correctly registered in either HKCU or HKLM with the correct values in the correct location the addin would never load in Outlook. -- 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 "John" <i... (AT) nospam (DOT) infovis.co.uk> wrote in message news:u%23JY$k8AKHA.1488 (AT) TK2MSFTNGP03 (DOT) phx.gbl... Hi I added the project out put but that did not work. I tried to manually add the MyAddin.dll to OL2007's addins on target machine but it says "...is not a valid add-in." Thanks Regards- Hide quoted text - - Show quoted text - |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
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/2008/04/22/Troubleshooting-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" <lasy... (AT) gmail (DOT) com> wrote in message news:a948f70a-18d8-4904-9323-c7a894657815 (AT) u38g2000pro (DOT) googlegroups.com... 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 |
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
|
I have granted Full Trust to the add-in dll using CASPOL security policy and added CustomActions to the setup project. I also strong named the assembly by signing it. I have copied the setSecurity project from an Outlook 2003 project which I have developed in VS2005. Is there any new version of CASPOL (setSecurity) project for Outlook 2007 add-ins [ or VSTO 3.0]? If yes, where can I get that? Regards |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |