project file cannot be found ?

I copied the folders containing a Visual Studio 2005 solution to a new drive.
When I opened the solution, the error was "project file could not be found"
and none of the file or folders was opened. How can I fix this ?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

When you say you copied the folders from one drive to another, do you mean, you copied from say the C: drive to the D: drive in the same computer?  Or, did you copy the folders from the C: drive on Computer A to the C: drive on Computer B?

If the former -- meaning, you copied from the C: drive to the D: drive, I suspect your solution file (the .sln file) is expecting to find the .csproj project file on your C: drive, and cannot find it on the D: drive.  I am not 100% sure if this will work, but it is something to try.

Locate the project's solution (.SLN) file -- this is created by default in your My Documents, Visual Studio 2005, Projects directory.  Find the folder of your project below here.  Inside this folder you will find the .SLN file.  After making a copy of your .SLN file as a precaution, open this file in NOTEPAD.  Near the top you will see where it references the physical path to your project.  Try changing the C:\ drive in the physical path to D:\ (or whatever drive letter you copied to) and see if that doesn't do the trick.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pillmillAuthor Commented:
Thanks. I copied the files from one computer to a second one.

Is the project on the same physical hard drive as it was on the first computer?  Meaning, if you had it on C: on computer A, is it also on C: on Computer B.  What is the physical path to your project?  Are you sure you copied all files associated with it?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.