• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Transferring Visual Studio files to a new laptop

Joined
6/18/20
Messages
392
Points
323
Just got a new machine and I'm in the process of transferring files from my old laptop to my new one. Both are Windows machines with x64-based processors. Is there a rough-and-ready way to transfer VS files? It seems like I'll need to redownload VS on the new laptop, as I met difficulties when trying to simply copy VS onto a flash drive and move it to the new laptop that way, but I'm wondering what the process is like for moving VS project files? Hoping it's not the case, but I feel like the file structure is going to change and so VS may not be able to recognize the projects I copy over. Thanks in advance. @Daniel Duffy @APalley
 
Worst case scenario .. you might have to create projects from scratch. However, maybe not?
Do you have many projects?

Guess CMake on VS2019??
 
I think I got pretty lucky because the software specs of my new laptop are the same as my old one (both are x64 Windows machines). I was able to simply copy and paste all of my projects on my old laptop to a flash drive and then transfer them to the new one in one fell swoop. I made sure to download the same version of VS on my new laptop, and from there I've been able to run all my old projects with no problems. Just had to make sure the Boost-enabled projects knew where to look for the Boost libraries, but besides that, it was quite easy! It seems like CMake is well-suited to handle the general case though e.g. Windows to macOS, etc. Thanks again for your help, Dr. Duffy.
 
For the few projects I've checked so far, I've had to change the directory, but it is a very minimal change. I copied all the below folders onto a USB drive, ported them to my new computer, and then copied them into a new folder on the new laptop. From there, when I opened a project in VS that was making use of Boost, all I needed to do was change the additional include and library directories in VS to the new paths on my new laptop and everything was good to go.

1610995186248.png
 
Back
Top