-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: ArunNAndU
Message 2 in Discussion
Hi
Firstly, circular references is bad { with the exception of
excel :), which deals with it so very nicely }.
I am not very sure if your requirement is
a short term - "Get rid
of "Circular Reference of Projects" not
allowed
or a long term - Remove the
circular references.
I am not sure how to resolve for the first. From a long
term solution perspective I feel you should refactor your codebase.
I mean circular references usually means a bad design.
If two components are developed, they need to be atomic in their business
nature. Any no of one way dependancy is fine, or a decoupled bi-directional
relationship is also fine(Eg. Connection Points in COM). But not a
static/compilation level circular reference. So I would suggest you to
try removing the dependencies. We would generally factor out the common code
into a probable 3rd component which can be used by both the components but the
3rd component itself is not dependant on any. This would remove any
circular references into 2 uni-directional references.
I dont know if this is a right time for you to refactor the
code or will this be feasible for your application. Well give it a thought. It
sure is a long term investment and a safe one. Do post if you require any more
info on the approaches you could take.
Cheers!!!
Arun
_____________________________
Arun N
Kumar<o:p></o:p>
Software
Architect
ZapApp India Private
Limited
Level G & 1, <st1:place><st1:PlaceName>Explorer</st1:PlaceName>
<st1:PlaceType>Building</st1:PlaceType></st1:place>,
International TechPark,
<st1:address><st1:Street>Whitefield
Road</st1:Street>,
<st1:City>Bangalore</st1:City></st1:address> - 560 066.
<st1:country-region><st1:place>INDIA</st1:place></st1:country-region>
91-80-
5115 6050 extn. 4070 (phone)
91-80- 841 1858 (fax)
[EMAIL PROTECTED]<o:p></o:p>
<o:p> </o:p>
-----Original Message-----
From: ssv_2000
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2003
9:06 PM
To: BDOTNET
Subject: Circular Reference of
Dlls
New Message on BDOTNET
Circular
Reference of Dlls
Reply
Reply to Sender Recommend
Message 1 in
Discussion
From: ssv_2000
Hi all,
I am developing a
multi-tier web application. The business layer consists of 2
components (DLLs). These components refer and use each other.
The problem is when I open a Solution in Visual Studio and add
the 2 Business Dlls, it is giving the error - "Circular
Reference of Projects" not allowed. I understand its cause of
the Build Order and visual studio needs to know in what order to
build the projects when I build the solution. But, isnt there
any way out? I want the projects opened in one solution, in the
same IDE window cos in developmental stage its easier to change,
debug, test etc.
Anyone faced similar situation of
circular reference?
Any ideas?
Thanks.
SriVidya
Subramanian.
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]