Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

References Not Working

Status
Not open for further replies.

Casbah

Programmer
May 18, 2004
31
IE
Hi, maybe someone will have a better idea than me what's going on here.
I have a project group containing many projects.
When I try to compile or run I get the User-defined type not defined error. The class it is complaining about is in one of my other projects in the group.
So going into references the project reference is already ticked. I need to uncheck it, try to compile. Then check it again and the compile works. This happens every time I open the project group for all of my references. I need to uncheck them all, try compile and recheck them.
When I open the projects on their own the references are instead pointing to compiled dlls of my other projects and everything compiles ok.
Anybody got any ideas?
 
I might have an idea. If you're working with a project group, you have to be careful to know whether you're referencing the compiled dll or the vbp file. It looks like you may be confusing the two.

I explain this in some detail near the top of faq708-5940.

HTH

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top