RSS 2.0
# Wednesday, January 31, 2007

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.
Wednesday, January 31, 2007 4:36:21 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [9] -
ASP.NET | Development | English
Thursday, March 22, 2007 9:38:36 PM (W. Europe Standard Time, UTC+01:00)
Thanks man, you are a lifesaver!
Gabe
Saturday, April 07, 2007 12:58:08 AM (W. Europe Daylight Time, UTC+02:00)
Thanks very much--just ran into that exact problem--you solved it for me nice 'n fast!
Art
Monday, April 16, 2007 12:40:54 AM (W. Europe Daylight Time, UTC+02:00)
This is exactly what I needed. Thanks. I wish you could push yourself up in google search. ;)
Friday, April 20, 2007 11:04:10 PM (W. Europe Daylight Time, UTC+02: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 5:52:43 PM (W. Europe Daylight Time, UTC+02:00)
brilliant!
Tuesday, August 28, 2007 9:53:54 AM (W. Europe Daylight Time, UTC+02:00)
Good One.
babar
Thursday, September 20, 2007 8:15:56 AM (W. Europe Daylight Time, UTC+02:00)
Great thanks.
sifiso
Thursday, August 21, 2008 3:38:21 PM (W. Europe Daylight Time, UTC+02: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
Sign In

Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
About
This is the blog of Michiel van Otegem, a Senior Software Architect with Sogeti Netherlands, and author of several books and numerous articles on (ASP).NET, XML, and related technologies.
Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Michiel van Otegem
All Content © 2012, Michiel van Otegem
DasBlog theme 'Business' created by Christoph De Baene (delarou)