is it possible to instal Visual studio on one drive and later relocate it all to the other drive?

Jonas_28

Commendable
Oct 28, 2016
3
0
1,510
0
hello, i currently have a 120gb ssd (C) and later i will buy a 240gb ssd (D). as the topic says, is it possible to install on disk C, then relocate all of it to disk D? if not, how much can i relocate and will the projects work? thank you a lot in advance
 

13thmonkey

Distinguished
Moderator
Jan 10, 2006
799
0
19,210
86
yes/no. Yes you can do it, i'd shrink the partition, create a new partition in that space, label it as drive g: (for example). Install it to g:\program files\...

Then when you get your new drive, copy that partition to the new drive, delete the original, expand the smaller drives partition to fill the space, rename the partition on the new drive as g:, and expand that to fill the whole drive.

As far as your OS is concerned it was installed on g:\ and it still is, the fact that it is on a different physical disk is not relevant.

But it's all a bit of a faff.
 

Jonas_28

Commendable
Oct 28, 2016
3
0
1,510
0

why exactly is it a bit of a faff? there are no downsides right? thank u for helping by the wsy
 

13thmonkey

Distinguished
Moderator
Jan 10, 2006
799
0
19,210
86
shrinking and expanding partitions is not something to be done lightly (there is risk), you're creating a whole new partition for just one program (initially, more will follow I imagine) which is the faff bit. if you're familiar with all of the techniques it's not a problem.
 

randomizer

Distinguished
Moderator
Jul 24, 2006
881
0
19,260
62
It's probably simpler and safer to just uninstall it and then reinstall it in the new location. Your projects will be left wherever you put them whichever option you choose (unless you put them inside the VS installation folder).

Don't forget that depending on your version of VS and the installation options you've chosen it may install a tonne of dependencies (MSSQL, a dozen VC++ redists, IIS Express, etc.). If you want to move these as well then the partition juggle is simpler. Otherwise you'll need to uninstall all of these one at a time. If you're using VS 2017 it's probably not a big deal because it tends to install fewer dependencies if you were picky about what features to install. Anything older and it's a real pain.
 
Thread starter Similar threads Forum Replies Date
B Apps General Discussion 1
M Apps General Discussion 1
P Apps General Discussion 0
C Apps General Discussion 1
E Apps General Discussion 2
S Apps General Discussion 1
S Apps General Discussion 2
A Apps General Discussion 4
K Apps General Discussion 4
M Apps General Discussion 4
meloonharrier1199 Apps General Discussion 24
R Apps General Discussion 1
G Apps General Discussion 2
H Apps General Discussion 1
P Apps General Discussion 1
I Apps General Discussion 2
fizahriAH Apps General Discussion 1
A Apps General Discussion 5
rogue woopa Apps General Discussion 1
velocci Apps General Discussion 2

Similar threads


ASK THE COMMUNITY