Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-08-12
1
Medium Priority
?
436 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
1 Comment
 
LVL 2

Accepted Solution

by:
davidastle earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Screencast - Getting to Know the Pipeline

886 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