Monday, July 27, 2009

How to move a visual studio project from one computer to another?

i have made a web application with visual studio using c# and its my first project


now i need to move it to another computer but each time i try always something wrong pop up in my face ,








can some one tell me what is the best way to move projects from one computer to another

How to move a visual studio project from one computer to another?
Just copy the WHOLE folder the project is stored in(there are often a few files to can delete to save disc space, but well not worry about these for now) and save it to the other PC.





Thats all there should be to it. But you may find issues with different setups eg if your environment differs from theirs. Make sure they've got appropriate copies of any libraries etc you use, eg if you projects uses DirectX SDK then other PC will also need the DX SDK.





Also you could run into issues with hard coded locations, eg you've set your project to look only in your documents directory which is not the same on the other PC. In these cases there are fixes but it could be easier just to make a new project file and copy your files into it(altering any compiler/linker instructions if necessary).
Reply:Use a USB drive.





Or if you're done working on it; then execute/build the program. Then you can use it as any other program rather then a vb file. This way you can email it to your self; or again, use a USB drive.


No comments:

Post a Comment