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 3851614
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:11:24+00:00 2026-05-19T17:11:24+00:00

I have a solution that includes a Web Site (created using the web site

  • 0

I have a solution that includes a Web Site (created using the web site template not the web app project template – converting isn’t an option, btw).

When I rebuild all, the compile succeeds, but strangely displays 3 errors, all of which are “Could not get dependencies for project reference ‘PROJNAME'”. When I try to launch the debugger, I get the “There were build errors.” dialogue.

Two questions:

  1. If I choose the ‘Yes’ option in the debug error dialogue to run the last successful build, will it run on the code that my Rebuild All just compiled?
  2. How do I resolve this issue?

I checked this post and am disheartened by my prospects. What is strange, though, is that I added these same projects to a separate web site solution that compiled/debugged fine, removed the test web site and re-added the target website I would like to debug, and it failed in the same manner. Is there a secret web site .proj file for .NET web sites?

Could not get dependencies for project reference

  • 1 1 Answer
  • 0 Views
  • 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-19T17:11:24+00:00Added an answer on May 19, 2026 at 5:11 pm

    I wasted an entire day on this problem. To briefly summarize, I was working on a legacy “Web Site” project using VS 2008 and the publish failed. I looked at the Error List and saw the dreaded “Could not get dependencies” error. I looked at this post and other posts related to the error on Stackoverflow and elsewhere, and tried all suggestions that I found. The insanity peaked when I reinstalled Visual Studio 2008, rebooted and saw the error reappear. Good times!

    The next day I realized the publish error was actually being caused by directory permissions. The build error had nothing to do with it. Here’s what I’ve learned from my day of hell:

    1. This is a bug in Visual Studio 2008 web site projects that has been reported from time to time but is clearly not fixed (as of 1/2011). It occurs when 2 or more assembly projects have dependencies, one to the other, and then both are added as project references to the web site.
    2. In addition to this being a bug, it is incorrect to classify the problem as an error. It seems to me that it is a warning level issue. The best evidence for this is that it doesn’t seem to affect the build, I was able to successfully deploy without fixing it.
    3. I believe strongly that all errors and compiler warnings should be tracked down, understood, and eliminated. This is the exception that proves the rule. If you can find a workaround, by all means use it and forget the error message!
    4. Last but not least, this is yet another reason why the “Web Site” project type in Visual Studio should be avoided at all cost.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a VS 2008 solution that includes a web site and a web
I have a solution that contains an ASP.NET Web Site (file-based) project. I'm currently
I have a fairly small solution that includes a WPF windows application. It builds
I have a solution that is being referenced by a MSBuild project. In the
I have a web site built using asp.net with ugly URLs like /DisplayContent.aspx?id=789564 .
I have a PowerShell script that configures web site and web application settings in
I have a web service that will be consumed by some application (web site
I have a solution that I am trying to build in Visual Studio which
I have a solution that I work on with another person and the solution
I have a solution that contains both a Windows Forms application and a Console

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.