Web Site in solution where "Rebuild Solution" compile succeeds cannot launch debugger

Posted by fordareh on Stack Overflow See other posts from Stack Overflow or by fordareh
Published on 2010-03-12T20:42:23Z Indexed on 2010/03/13 3:07 UTC
Read the original article Hit count: 545

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?

http://stackoverflow.com/questions/863379/could-not-get-dependencies-for-project-reference

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about debugger