Community
Showing results for 
Search instead for 
Do you mean 
Reply

How to set a reference to Act.Framework.Contacts

Tuned Listener
Posts: 35
Country: Australia

How to set a reference to Act.Framework.Contacts

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?)

 

 

Reece harper

Act! Certified Consultant Australia
http://www.databasepartners.com.au
Nickel Super Contributor
Posts: 441
Country: UK

Re: How to set a reference to Act.Framework.Contacts

Sounds like youre missing a ref to act.shared.collections.dll

 

Tom

Tuned Listener
Posts: 35
Country: Australia

Re: How to set a reference to Act.Framework.Contacts

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?

 

Reece harper

Act! Certified Consultant Australia
http://www.databasepartners.com.au
Nickel Super Contributor
Posts: 441
Country: UK

Re: How to set a reference to Act.Framework.Contacts

All the assemblys are on the ACT! cd itself - you will need to copy them off there into a folder on your machine.

 

Tom

Tuned Listener
Posts: 11
Country: Switzerland

Re: How to set a reference to Act.Framework.Contacts

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"

 

 

 

 

 

Reto Scherrer
Ambit AG
Switzerland
Bronze Super Contributor
Posts: 1,231
Country: USA

Re: How to set a reference to Act.Framework.Contacts

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