Can Visual Studio 2019 be Upgraded to Visual Studio 2022 Directly Using Visual Studio 2022 Installer?

OndigoLeakey-7251 20 Reputation points
2024-11-05T17:22:56.65+00:00

I know you can install both versions side by side. And according to this:

https://learn.microsoft.com/en-us/answers/questions/1283358/can-i-upgrade-from-vs2019-to-vs2022, one cannot directly upgrade directly from VS2019 to VS2022 currently.

Is that still the case?

Microsoft Security | Intune | Other
Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,456 Reputation points Microsoft External Staff
    2024-11-06T03:33:33.0866667+00:00

    Hello @Ondigo, Leakey,

    Good day!

    Yes, it’s still not possible.

    Some new VS update related features have been added to VS 2022. For example, you can update VS 2022 Community to VS 2022 Community Preview directly by choosing the corresponding update channel(About online update => VS Installer > More > Update settings. About offline update => use argument "--channelURI").

    User's image

    However, you cannot directly update VS 2019 to VS 2022. They are two different versions of VS and need to be installed separately.

    BTW, here's the test results. I share here for reference(use an updated VS 2022 Pro layout to offline update the installed VS 2019 Pro, you will get below error. The error message indicates that it cannot find VS 2022, which means that you need to install VS 2022 and then you can update it):

    User's image

    User's image

    If you use bootstrapper file for VS 2019 instead, you may get following error:

    User's image

    Anyway, kindly consider installing VS 2022 side-by-side with VS 2019, instead of updating VS 2019 directly to VS 2022.

    Thanks for your understanding.

    Happy coding!

    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

0 additional answers

Sort by: Most helpful

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.