Re: Circular dependencies
- From: EP <reply@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 21 Nov 2005 14:16:16 -0800
If you have 3 projects, A depends on B, B depends on C, C depends on A....
Who should visual studio compile first?
Visual studio bases it's build order on references. It will first compile a project that doesn't depend on any other projects in the solution. If Each project depends on at least someone else, it doesn't know who to compile first.
I suspect you came into a circular dependency after you'd already compiled earlier versions of the dlls..... just try to imagine if you had only source code, how you would compile the dlls.
Hello Joe M.,
Hello.
Can someone explain to me or point me to documentation about why circular dependencies are not allowed between projects in Visual C# .NET? I'm assuming it's because of the CLR and how the compiler generates assemblies but I'm having trouble finding specifics on MSDN and the web.
I'm embarrassed at how basic this question could be but I'm coming from Java (and no C++) and I'd like to understand it.
Thank you for your consideration.
Joe
.
- Prev by Date: Re: Garbage collection explosion BEFORE my code executes?
- Next by Date: Emailing
- Previous by thread: Re: Garbage collection explosion BEFORE my code executes?
- Next by thread: Emailing
- Index(es):
Relevant Pages
|