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

Posted on 2007-07-30
Medium Priority
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
  • 2
LVL 27

Accepted Solution

planocz earned 1000 total points
ID: 19597326
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

ID: 19602310
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

ID: 19602430
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.

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

840 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