Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 475533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:23:53+00:00 2026-05-13T00:23:53+00:00

Is there a way in Visual Studio 2005 to find all the references of

  • 0

Is there a way in Visual Studio 2005 to find all the references of a project?

I have a solution with multiple projects (dll’s). When referencing in the project B the project A VS tells me that it can’t add this reference, because of a “circular referencing”.

However, the project A does not contain a direct reference to B. Apparently, there a intermediate references in A that references B.

A <=?= B (circular ref.)

A =?=> X(?) =?=> B ( maybe there is an X that references B)

How to find this X?

=== EDIT(For the curious) 🙂
There is 63 projects in the solution.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:23:53+00:00Added an answer on May 13, 2026 at 12:23 am

    I highly recommend you look into using NDepend, which is a great way to find hidden dependencies. That tool will help you find all of the pain points in your code. Refactoring it is, ultimately, up to you.

    The standard way of dealing with a circular dependency, where A references B and B references A, is to pull the items that are referenced by both A and B and put them into a separate assembly, C, such that A references C and B references C, but C does not reference either A or B.

    Based on a read of your problem, my guess is that you have a lot of static methods or properties that you use all over the place. Get rid of them, or move them all to a single project that everything references. I prefer the former; static anything tends to be difficult to unit test.

    mmm. interesting, interesting… what about "free" "workarounds"? 🙂

    You have to refactor, there’s no "workaround" for that. NDepend is just a tool that can help you find the painful areas; it’s not going to do the work for you. Thankfully, it has a free trial that you can use to help you with your immediate problem.

    If you don’t want to use it, your only "workaround" would be to find the circular reference by searching through your code. One thing that might help you find the problem area would be to remove the reference to Project A from Project B and see what breaks, then compare it to what breaks when you remove the reference to Project B from Project A. The union of those lists should give you a starting point.

    But you’re going to have to refactor your code; there is no getting away from that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

in visual studio 6 is there a way to Find All References. Don't see
I'm stuck to a Visual Studio 2005 solution; is there still a way to
Is there a way to tell Visual Studio 2005 to not rearrange your SSIS
Is there any way, to optimalize linking time in MS Visual studio C++ (2005)
Is there a way to add a Scale Break in Visual Studio 2005 for
I have developed an application as my college project using Visual Studio 2005 and
Using Visual Studio 2005, is there a way to export the images in an
I have a Windows, C++ software project (built with Visual Studio 2005, SP1) that
I have a solution of mixed VB.NET and C++ projects. When using Visual Studio
Is there a way to update and publish a site in Visual Studio 2005,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.