Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See https://learn.microsoft.com/en-us/visualstudio/install/import-export-installation-configurations?view=vs-2022#export-a-configuration for more details on how to export .vsconfig file from your existing VS Community installation.

Create network installation of Visual Studio

See https://learn.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio?view=vs-2022 for more detailed description of the process.

Download the Visual Studio bootstrapper to create the layout

Visual Studio 2022 Community

vs_community.exe

See https://learn.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio?view=vs-2022#download-the-visual-studio-bootstrapper-to-create-the-layout chapter Download the Visual Studio bootstrapper to create the layout for latest links.

...

Code Block
languagepowershell
>dir C:\vs_bootstrap
28/11/2023  11:35    <DIR>          .
28/11/2023  11:35    <DIR>          ..
28/11/2023  10:19             5,062 .vsconfig
28/11/2023  11:14         3,952,960 vs_Community.exe

Prepare directory to store VS installation layout

Code Block
languagepowershell
>mkdir CD:\VSLayout

Create layout with the bootstrap tool

Code Block
languagepowershell
>cd vs_bootstrap
>vs_Community.exe --layout d:\vs_native --config .vsconfig

Command will open new installer window:

...

and will continue with VS Community component download. Please note that d:\vs_native will be populated with around 40 GB of data. Downloading process will take at least 15 minutes.

...

When process is finished you will see:

...

[Optional] You can verify your layout

Use below command to verify your layout:

Code Block
languagepowershell
>vs_Community.exe --layout d:\vs_native --verify

Example of successful layout verification output:

...

Install VS on ARM64 machine

After creating local VS installer layout you can install it on your ARM64 machine.

Copy the layout to ARM64 machine local folder

You can copy layout e.g. using Ctrl+C / Ctrl+V inside Remote Desktop session.

Install VS from the layout

Use C:\vs_native\vs_setup.exe to install VS.

Note: Please remove old VS Community 2022 installation.

Install SDK and WDK

Please follow https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk article’s:

  • Step 2: Install SDK and

  • Step 3: Install WDK.

Test your installation by building WindowsPerf solution

You can open windowsperf.sln with your VS 2022 and build e.g. wperf project. You will see something like this:

...