Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Circular Reference problem (again)!
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Circular Reference problem (again)!
Miscellaneous
Thread ID:
00856954
Message ID:
00856954
Views:
59
We have a few projects in our solution:

AA - Main application project
AABusinessData - Data Objects
AAWindowForms - Base Forms and controls

AA refers to AABusinessData and AAWindowForms

There is a class called aaBusinessForm inherited from mmBusinessForm.

I am trying to add a security check at the LOAD event of aaBusinessForm. I need access to a data object in AABusinessData, but when I try to add the reference to AABusinessData from AAWindowForms, I got the "A reference to 'AABusinessData' could not be added. Adding this project as a reference would cause a circular dependency" error. What is the best way to fix this problem? Should I move aaBusinessForm to the main AA project?
Stephen Lee

--------------------------------
Too much to code
Too little time
--------------------------------
Reply
Map
View

Click here to load this message in the networking platform