Reply
Employee
ACTDevNet
Posts: 119
Country: USA
Message 1 of 3 (2,798 Views)

Develop on a machine that does not have ACT installed

[ Edited ]

by David on 12-12-2007 4:46 PM

Hi

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

Regards

David Evans
Inaport - CRM Integration
Web: http://www.inaplex.com
Forums: http://www.inaplex.com/cs/forums/


Message Edited by ACTDevNet on 01-14-2008 02:25 PM
Please use plain text.
Copper Contributor
Pierre
Posts: 61
Country: USA
Message 2 of 3 (2,793 Views)

Re: Develop on a machine that does not have ACT installed

by Pierre on 12-12-2007 5:07 PM

Hi David,

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

Pierre

Please use plain text.
Employee
ACTDevNet
Posts: 119
Country: USA
Message 3 of 3 (2,790 Views)

Re: Develop on a machine that does not have ACT installed

by David on 12-13-2007 6:39 AM

Hi Pierre

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.

Regards

David Evans
Inaport - CRM Integration
Web: http://www.inaplex.com
Forums: http://www.inaplex.com/cs/forums/
Please use plain text.