Answered Class Library Reference Problems

Anticipation

Member
Joined
Jul 15, 2008
Messages
10
Programming Experience
Beginner
I'm trying to create a program with 1 exe project and 2 class library projects. When i add a reference to one of the class libraries, and access things from the main exe project, it works fine. In order to access items in the class library in the exe, i add a reference to the class library in the exe project. Whenever i compile the solution, i get an error "Cyclic dependency between <project 1 name> and <project 2 name>"
Any help would really be appreciated
Thanks
 
Last edited:

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,517
Location
Norway
Programming Experience
10+
If "Circular references" is what you meant then this is not allowed, you have to redesign your libraries to avoid that to happen.
 
Top Bottom