I want Visual Studio in a new location

Hi
I wasn’t sure exactly where to post this.
When I was new to game engines and Visual Studio (I’m still quite new), I wish I knew to install Visual Studio in my D drive rather than my C drive. I think free space in my C drive is getting smaller and smaller because of Visual Studio.
I’ve heard the only way you can change the installation path is by uninstalling and reinstalling Visual Studio. If that’s really true it is so disappointing. If I uninstalled VS, I have no idea if I would lose the scripts I’ve already made with VS installed in the C drive, so would I lose all the scripts I’ve made so far if I uninstalled Visual Studio?
If anyone knows another way I can get Visual Studio content in the D drive rather than the C, please let me know. I’ve got 78 GB left in my C drive but it will get full some day.
P.S
I’ve just had the idea that I could copy, paste and save all the scripts I’ve made so far, and then paste them again into new scripts, if I would lose them all by uninstalling VS.
Thanks

Your scripts aren’t contained inside of Visual Studio. VS is just an app which can read scripts. Moving Visual Studio shouldn’t affect your scripts at all.

2 Likes

Thank you. That sounds like excellent news! So uninstalling Visual Studio is COMPLETELY safe? I’ll lose nothing at all by doing that?
And so does making new scripts / working on new game projects actually take up any space through VS? It’s just I seemed to observe that while writing scripts or at least working on a project, the space in my C drive was going down. And I’ve put Unity, Unreal and game projects in my D drive. This being the case, I don’t know why space in the C drive would go down while working on something.

You’ll lose basically nothing, from uninstalling Visual Studio (besides VS itself and maybe some config stuff).

Making new scripts/new game projects takes up space wherever your project is located.

1 Like

So I have had 1TB on my drive for a while. The C drive is notoriously dangerous to store your projects if it’s hooked up to a windows system. The C drives sold tend to be very small. However I have had been filling 1TB of a drive on my machine with unity projects for at least 2 years since it was last emptied. If you feel like C drive is full, it may not be unity projects alone causing this. The data I had found on an old machine that consumed most space relevant to unity was a lot of the light mapping data, baking data, Nav mesh data, from large worlds I use to try to generate when I was a noob. I find now that fbx files like to eat up a little space when they go to my desktop which is usually my save location, once it hits critical I transfer them to a higher capacity drive. And like I say 1TB has served me many many projects over quite a span of time. Where I have only had to remove certain sentimental projects for backup on external drive.

make sure you don’t keep all your valuables along with the operating system sharing a drive. Because if the operating system malfunctions and corrupts anything you will potentially lose everything. Whereas the. secondary drive is less likely to corrupt (without installing malware), and can further be recovered more easily should the main operating systems drive become corrupted.