How To Backup Visual Studio App

ini INIEDIT 0 Reputation points
2023-08-18T09:25:02.5866667+00:00

How To Backup Visual Studio App ?

Developer technologies Visual Studio Setup
Developer technologies Visual Studio Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-08-18T10:16:42.2066667+00:00

    Hello @ini INIEDIT,

    Welcome to Microsoft Q&A forum.

    There are many different situations, please check following:

    If you want to back up(export) the configurations(include your custom settings, account settings, installed extensions…) of Visual Studio, please kindly refer to this thread: What’s the best way to export all of my Visual Studio 2019 configuration?

    If you want to back up the Visual Studio(include workloads and components), and move to install it on another machine, for example, offline installing VS. You can follow this document: Use the command line to create a local layout, download the VS bootstrapper, run custom command line in CMD/Shell to generate a layout folder. After that you can move the layout folder to another machine, and use the setup file stored in this layout folder to start to install VS. In this situation, the network is not needed.

    If you want to back up the Visual Studio like coping a folder(VS) and generating another same folder(VS), then I’m afraid, it is not possible. Neither directly copying VS, nor moving/installing VS to a USB Flash Disk to move VS to another place is possible.

    Normally, you should download and install Visual Studio directly on the specific machine. If you get some errors which force you to back up Visual Studio, please share us the error message to check further.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

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