Download vs2022 pro trial installer

Peter Volz 1,295 Reputation points
2023-07-29T12:23:51.1933333+00:00

Hello,

This command:

VisualStudioSetup.exe --layout C:\VS.NET --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.Net.ComponentGroup.TargetingPacks.Common --add Microsoft.VisualStudio.Component.DiagnosticTools --lang en-US

Will result in:

Visual Studio Setup Layout Tool, version 3.6.2115.31769
c Microsoft Corporation. All rights reserved.
Error: An item with the same key has already been added.
Press any key to continue...

Any advise? :(

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

Accepted answer
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2023-07-31T02:58:32.9+00:00

    Hello @Peter Volz ,

    Welcome to Microsoft Q&A forum.

    Looks there’s something wrong with the bootstrapper that you are using. I guess you downloaded VS bootstrapper from here: Downloads right? If so, as a current workaround, please kindly directly download and use the bootstrapper from here: Download the Visual Studio bootstrapper to create the layout.

    User's image

    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.

    1 person found this answer helpful.

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.