Why does Visual Studio 2008 try to open a project from the wrong folder?
        Posted  
        
            by Rising Star
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Rising Star
        
        
        
        Published on 2010-06-17T21:44:01Z
        Indexed on 
            2010/06/17
            21:53 UTC
        
        
        Read the original article
        Hit count: 200
        
visual-studio-2008
|project
I'm having a bizarre problem with Visual Studio 2008. I wanted to debug one of the libraries that my web application references. Therefore, I decide to add the project containing the library to my solution so that I can debug them together.
The project containing my library sits at c:\webLibs\myproj.vbproj.  However, when I try to add the project to my solution, Visual Studio throws the following error: "The project file 'c:\someOtherFolder\myproj.vbproj'. has been moved, renamed, or is not on your computer."
As you can see, VS appears to be trying to open a different file than the one I clicked on. I used to have the file in that other location, but not anymore.
I've tried restarting VS several times.
What could cause this bizarre behavior? Why would Visual Studio try to open my project from the wrong folder?
© Stack Overflow or respective owner