Solved

Circular Dependency is desirable but VS .NET will not allow it

Posted on 2004-08-12
1
429 Views
Last Modified: 2010-08-05
I am trying to reference a DLL using the Projects tab under Add References.

When I do...it says that adding the DLL will create a circular dependency...and it does not allow the add to happen.

BUT what if I NEED this DLL???

What I am saying is...the circular dependency is correct....but I still want to have it.

How can I get around this?
0
Comment
Question by:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
davidastle earned 500 total points
ID: 11787708
Hmm... i just started up to visual studio .NET instances, created two class libraries, compiled them both, then successfully added the references to eachother.  

Try this: (from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxerrCircularDependency.asp)
The project referenced in the error message might depend upon the selected project in order to build; the selected project depends upon the referenced project to build. Neither project can be built until the circular reference is resolved.

This error usually occurs when one deployment project contains the project outputs of a second deployment project, and the second project contains the outputs of the first project.

To correct this error

Double-click the error in the Task List to open the selected project in the File System Editor.
Select the project output group for the project referenced in the error message.
On the Edit menu, choose Delete.

If this doesnt work... can you be more specific about your problem?  I found some other articles that explain possible causes.

http://support.microsoft.com/default.aspx?scid=kb;en-us;255757
http://support.microsoft.com/default.aspx?scid=kb;en-us;193341
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question