[Vtigercrm-developers] Compile Outlook Plugin

nicolas GASNIER nicolas.gasnier at holdisgroup.fr
Thu Dec 13 23:43:38 PST 2012


Hi Alexandru,

I don't remember having needed to change anything in the project properties. If you want to build and debug, you just have to do the following :

-          Generate the vtigerCRMOutlookAddin by right clicking on the corresponding node, ensure you have selected the Debug configuration in the Generate > Configuration manager

-          The dll is then compiled in the bin/Debug directory. If you have outlook installed with the plugin, then VS will automatically register the built dll to Outlook and you just need to restart outlook to get your changes. For this to work you must to have the option  "Register for com interop" in the Generate part of the project properties. If this is not the case, you need to run manually the command I gave in my previous mail to register it.

-          You may attach the debugger to the outlook if you want to put breakpoints and watch variables. Go to Debug > Attach to process and select outlook.exe.

This is all you need to compile and run, leave the options as they are in the project. To build for release, just change the configuration to Release in the configuration manager.

Regards,

Nicolas GASNIER
Développeur
HOLDIS AGRIDIS
1 rue des MORELLES
ZA Euro Val de Loire
41330 FOSSE
Tél : 02 54 81 48 44

De : vtigercrm-developers-bounces at lists.vtigercrm.com [mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] De la part de Alexandru Mihai
Envoyé : jeudi 13 décembre 2012 13:12
À : vtigercrm-developers at lists.vtigercrm.com
Objet : Re: [Vtigercrm-developers] Compile Outlook Plugin

Hi Nicolas,

I don't think I understand what I have to do.
When I load up the project from x64 folder , in visual studio 2010 , I have 2 projects :

 *   vtigerCRMOutlookAddin
 *   vtigerCRMOutlookAddinSetup
The default project is vtigerCRMOutlookAddin. When I try to compile I get the error attached in this mail.
When I go to Project Properties / Debug I have there:

 *    Start Action - Start External program : C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
I think this is the error source but I don't now how to resolve it .

Cand you explain a little bit more detailed what you have done to make it work ?

Thank you very much for your help !

On Thu, Dec 13, 2012 at 11:09 AM, nicolas GASNIER <nicolas.gasnier at holdisgroup.fr<mailto:nicolas.gasnier at holdisgroup.fr>> wrote:
The setup project includes already the dll, you may eventually check dependencies as there may be some pathes to change. But it does'nt include the resources files and the plugin will install but end in an error at startup.
So you must add the resources files to the application folder. Open the "main output from vtigerCRMOutlookAddin"  node and add to the application folder the image and languages folder from the plugin installation directory (these files are not included in the source tree). You will then get a fully working plugin.



________________________________
Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'intégrité de ce message, notre société décline par ailleurs toute responsabilité dans l'hypothèse où il aurait été modifié.

This message and any attached files (the "message") are intended solely for the addressees and are confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except if there is formal approval. The Internet cannot guarantee the integrity of this message, our company shall not therefore be liable for the message if modified.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20121214/edaf0b09/attachment-0001.html 


More information about the vtigercrm-developers mailing list