# Wednesday, January 31, 2007
« Na heeeeel lang wachten zijn XQuery 1.0 ... | Main | VS2005 probleem "The project file ' ' ha... »

We were recently faced with the error message The project file ' ' has been renamed or is no longer in the solution in Visual Studio 2005. The problem is that from this message you have no idea what is actually the matter. We finally figured out that this happens when a Web Project contains references to assemblies or projects it can't find. Here's how you solve this:

  1. Right click the Web project and select Property Pages.
  2. A window will open which lists all the references, either to the bin-folder, GAC or other projects in the solution.
  3. Remove those that show (unavailable) behind it.
  4. Chances are that now you can't build because the reference is not there. Simply add the reference again and you should be OK.
Thursday, March 22, 2007 9:38:36 PM (W. Europe Standard Time, UTC+01:00)
Thanks man, you are a lifesaver!
Gabe
Friday, April 06, 2007 11:58:08 PM (W. Europe Standard Time, UTC+01:00)
Thanks very much--just ran into that exact problem--you solved it for me nice 'n fast!
Art
Sunday, April 15, 2007 11:40:54 PM (W. Europe Standard Time, UTC+01:00)
This is exactly what I needed. Thanks. I wish you could push yourself up in google search. ;)
Friday, April 20, 2007 10:04:10 PM (W. Europe Standard Time, UTC+01:00)
I received the same error and I try this but did not find any (unavailable) references. I did finally figure this out. In the solution (.sln) file there is a "ProjectReferences=..." statement which give a {GUID}|Assembly Name list seperated by semi-colons. The project I did remove was still in the list. After removing this GUID/Assembly entry I was back up and running. Your solution above is probably 99.9% helpful but I believe I really messed up my site - I was attempting to code before knowing what I wanted, i.e. "Should this be a project or simply part of the website", etc.

Thanks!
John
Monday, May 21, 2007 4:52:43 PM (W. Europe Standard Time, UTC+01:00)
brilliant!
Tuesday, August 28, 2007 8:53:54 AM (W. Europe Standard Time, UTC+01:00)
Good One.
babar
Thursday, September 20, 2007 7:15:56 AM (W. Europe Standard Time, UTC+01:00)
Great thanks.
sifiso
Thursday, August 21, 2008 2:38:21 PM (W. Europe Standard Time, UTC+01:00)
Cheers mate :)
Herb
Tuesday, November 04, 2008 9:43:49 PM (W. Europe Standard Time, UTC+01:00)
Thanks dude.
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview