Visual Studio 2022 install on other drive

Cenk 1,041 Reputation points
2022-04-19T11:12:55.317+00:00

Hi guys,

I am working on Windows 10 Enterprise 20H2 laptop. I have 2 drives, C and T. I am running out of space for installing VS 2022 on drive C (10 GB free space) so I wonder if I can install VS 2022 on drive T (50 GB free space) and use it without any problems?

Thank you.

Developer technologies | Visual Studio | Setup
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

4 answers

Sort by: Most helpful
  1. Karen Payne MVP 35,591 Reputation points Volunteer Moderator
    2022-04-19T11:27:26.83+00:00

    Visual Studio can be installed on any drive, once installed you should go under tools, options and check environment paths as default paths for projects is under C:\Users...

    3 people found this answer helpful.

  2. Brad Hobson 10 Reputation points
    2023-06-22T18:00:53.6433333+00:00

    I have done this as well as the C: was near full so installed on D drive. This has led to a nightmare of using ADO though. It looks for $(VSToolsPath) - "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v17.0" but this is installed in D:. I cannot find any good information on Google or Microsoft boards to speak to how to change the $(VSToolsPath) to point to the D:.

    2 people found this answer helpful.
    0 comments No comments

  3. Reginaldo Villela 1 Reputation point
    2022-04-20T03:28:12.807+00:00

    Hi @Cenk

    When installing, see the configuration:

    194512-answer.png

    --
    I hope this helps you.

    Best Regards.

    Reginaldo Villela


  4. Cenk 1,041 Reputation points
    2022-05-04T10:11:42.7+00:00

    I did install VS 2022 onto my drive T, but as I told you before I already installed VS 2019 on my drive C so some shared components, SKD etc ate up from drive C.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.