473,414 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

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 2442

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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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...

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.