06-01-2008 04:42 AM
using Act.Framework.Contact;
produces this error:
Error 1 The type or namespace name 'Contacts' does not exist in the namespace 'Act.Framework' (are you missing an assembly reference?)
06-02-2008 07:31 AM
Sounds like youre missing a ref to act.shared.collections.dll
Tom
06-03-2008 12:28 AM
Thanks Tom.
The dll you mention is in c:\windows\assembly.
I would have thought I could have found it in the Add Reference dialog .Net tab. But no.
It's visible where I unzipped the SDK. Do I reference it there each time I do a project?
Or was there a step to make the ACT dlls in c:\windows\assembly visible to the "Add Reference" dialog?
06-03-2008 04:25 AM
All the assemblys are on the ACT! cd itself - you will need to copy them off there into a folder on your machine.
Tom
06-05-2008 06:09 AM
Just to answer your question because I recommend using the dlls from CD.
To add a reference to a project for an assembly in GAC which cannot be reached by using the "Add Refrence" Dialog I do the following:
1. Use a tool like GAC View (www.nirsoft.net / .Net Tools) to get the full path and filename of an assembly in the GAC.
(Double clicking the assembly displays the path +more)
2. Copy/Paste the file name/path to the dialog "Add Refrence" on tab "Browse"
06-05-2008 08:07 AM
My method is to copy all the assembles from the CD and place them onto unique folders. I will have unique folder per ACT build.
I then reference the DLL from those folders giving me the ability to compile against versions of ACT that are not installed or in the GAC.
C:\DurkinComputing\ACT Assemblies\10.2.191\Act.UI.dll
BTW - Most recently I stopped compiling against 7.0.4 ( My first ACT version ) and I started compiling against 10.2 for obvious reasons.
Hope this helps
-- jim durkin