How do I export or transfer a "Visual Studio 2005" project solution from one computer to another?

Posted on 2007-07-30
Last Modified: 2013-11-27
How do I export or transfer a "Visual Studio 2005" project solution from one computer to another? I am using Windows-XP and Visual Studio 2005. If I simply copy the entire subdirectory that includes the project and then try to open the *.sln file I get the message: "The project file has been moved, renamed or is not on your computer".
Question by:Finch
    LVL 27

    Accepted Solution

    There is to couple of ways to do this.
    But the easiest way is to create a new project on the computer you are copying to and only copy in the form files to that PC. then add each file to the new project from the add files menu. After you are setup you can then  delete the new Form1 file that you are not using from the new app.

    Author Comment

    It turns out that when I moved the Project from the original computer to the new computer I did not create the same subdirectory structure as the original, and Visual Studio is sensitive to that.  It actually is easy to copy and move a project to a new computer if you keep the same subdirectory structure from where the solution file (*.sln) and all subdirectories below that.  In addition, be sure that any support libraries that may be in other subdirectories on your computer are similarly available on the new computer.

    Your suggested answer would also work except you need to be especially careful to make sure all the details of the "Project Settings" get setup the same as the original which can be very tricky.
    LVL 27

    Expert Comment

    That was what I thought happen. But It would be to much work for you to go into the .sln files, etc. and change the directory code.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now