01-14-2008 02:24 PM - edited 01-14-2008 02:25 PM
by David on 12-12-2007 4:46 PM
I have a requirement to develop on a machine that does not have ACT installed, hence do not have the dlls installed in GAC - which makes it hard to reference them, and get Intellisense...
Is the only way to do this to manually copy the appropriate dlls out of GAC and into somewhere useful on my machine?
Or is there a better way?
Thanks in advance
01-14-2008 02:25 PM
by Pierre on 12-12-2007 5:07 PM
The easiest way to do so is to copy the DLLs out of the installation CD rather than from the GAC. From memory they are in a Global Assembly folder (or a folder suitably named).
remember to use the DLLs of the OLDEST version of ACT! you want to support. So, unless you are using new capabilities, you may want to build against the 7.0 version of DLLs. ACT! supports backward compatibility, so policy files are installed which will re-direct your program to sue the installed version of ACT! DLLs, but if you build on 10.0 (as an example) your plug-in will fail to load for older versions of ACT!.
You can also use ILDASM to check what version your plug-in references (Start a command prompt for Visual Studio 2005, then type in ILDASM and open your plug-in DLL and check the manifest)
Hope this helps
01-14-2008 02:26 PM
by David on 12-13-2007 6:39 AM
Thanks for that. I had had a look at the install setup, but hadn't looked hard enough.
We are well aware of the versioning issues; we support back to ACT 6. So far, we have been able to use "lowest common denominator" capabilities, but the introduction of custom entities changes that. We'll have to work out how to reference V7 and V10 dlls in the same build.