473,473 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Assemblies and circular dependency references.

Has anyone come up with a solution to curcular dependency issues?

For those who might not know this is what I am talking about:

Class A compiles to assembly A

Next, you build Class B that uses code in Class A (Assembly A).

Class A gets revised and uses some code in Class B (Assembly B).

Assembly A builds and Assembly B builds because the .dlls exist. Delete
BOTH dll's. Neither class will compile because they depend on each other.

This is a very interesting issue now that we have a world of C#, VB.net, J#,
Javascript ...etc building assemblies. With large complex API's (as the one
I am working on) we have teams of people working on seperate sections of the
api, each section can have its own projects built in any of the supported
..net languages. So, combining the code into a single project is no longer
feasible as the compiler will not support cross language coding in a single
project.

I read somwhere that microsoft solves this problem with creating class stubs
that are basically empty shells of classes that can be compiled without
circular dependencies. Is there any other way to do this? Some sort of
late binding? or Turning off compiler errors associated with assembly
dependencies?

Thanks,
David Sandor
Jul 21 '05 #1
0 2443

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mart Rogers | last post by:
We have a situation where we have decided (in an attempt to keep things simple) to stick to local assemblies rather than global ones. However we now have the following situation looming AssyA ...
1
by: cmo63126 | last post by:
I'm currently refactoring a small to mid-size web application. One of my goals is to keep my layers as loosely coupled as possible. I've created 3 separate assemblies (Web GUI, Business Logic,...
1
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while...
2
by: ernesto basc?n pantoja | last post by:
Hi everybody: I'm implementing a general C++ framework and I have a basic question about circular dependencies: I am creating a base class Object, my Object class has a method defined as:...
4
by: Henke | last post by:
I have this scenario. public class A { public int numbers; public class A() { }
2
by: Mike | last post by:
I ran into a problem with circular dependencies. My code looks somthing like: using B namespace A { class formA { void foo() {
8
by: Jeff Connelly | last post by:
We're getting this error and don't know where to find the problem. I assume this is usually issued in the typical case where project A has a reference to project B, and project B has a reference...
0
by: David Sandor | last post by:
Has anyone come up with a solution to curcular dependency issues? For those who might not know this is what I am talking about: Class A compiles to assembly A Next, you build Class B that...
7
by: barias | last post by:
Although circular dependencies are something developers should normally avoid, unfortunately they are very easy to create accidentally between classes in a VS project (i.e. circular compile-time...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.