If you want to do an offline update from VS17.12 to 17.13 , you can follow below steps:
- Update the layout to a specific version of the product.
- Go to the Visual Studio 2022 Release History page and download a particular fixed version bootstrapper(e.g vs_Enterprise17.13.0), copy it into your layout, and use it to update the layout to that exact version specified in the bootstrapper.
- Run the --layout command in an elevated prompt to download the latest packages into your layout.
vs_enterprise.exe --layout c:\VSLayout
- Update your Visual Studio 2022 by running the Visual Studio Installer > Update or you can also use the following command:
vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
Update
The easiest and fastest way to update your offline Visual Studio instances: using a minimal offline layout.
Do i have to download the entire VS Layout package everytime if there is an version update?
Unlike a full Visual Studio layout, a minimal layout only contains the updated packages, so it is always smaller and faster to generate and deploy.
1.Generating a minimal layout.
MinimalLayout.exe generate --targetLocation c:\VSLayout\ --productIds Microsoft.VisualStudio.Product.Enterprise --baseVersion 17.12.5 --targetVersion 17.13.0 --languages en-US
2.Update the Visual Studio Installer
vs_enterprise.exe --quiet --update --offline C:\VSLayout\vs_installer.opc
3.Update the Visual Studio application
vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
Docs Referred:
Update the layout to a specific version of the product
Update Visual Studio from a layout
Answer from Dou Xu-MSFT on Stack Overflowupgrade - How to download and offline install Visual Studio 2022 version update? - Stack Overflow
how to fix VisualStudio setup.exe bootstrapper doesn't work
How do I install a specific build of Visual Studio Professional 2017?
how to download visual studio 22 community
Videos
Hi all,
Have been waiting for a few days to create an offline installation of studio 2022 but it seems that Microsoft are still listing the preview bootstrapper as being the only one available at present ( Create a network-based installation - Visual Studio (Windows) | Microsoft Docs )
Has anyone successfully created an offline layout yet for the final release? Can this be done using the standard installer available from the download pages or do I specifically need to wait for the bootstrapper to be made available?
Cheers!
If you want to do an offline update from VS17.12 to 17.13 , you can follow below steps:
- Update the layout to a specific version of the product.
- Go to the Visual Studio 2022 Release History page and download a particular fixed version bootstrapper(e.g vs_Enterprise17.13.0), copy it into your layout, and use it to update the layout to that exact version specified in the bootstrapper.
- Run the --layout command in an elevated prompt to download the latest packages into your layout.
vs_enterprise.exe --layout c:\VSLayout
- Update your Visual Studio 2022 by running the Visual Studio Installer > Update or you can also use the following command:
vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
Update
The easiest and fastest way to update your offline Visual Studio instances: using a minimal offline layout.
Do i have to download the entire VS Layout package everytime if there is an version update?
Unlike a full Visual Studio layout, a minimal layout only contains the updated packages, so it is always smaller and faster to generate and deploy.
1.Generating a minimal layout.
MinimalLayout.exe generate --targetLocation c:\VSLayout\ --productIds Microsoft.VisualStudio.Product.Enterprise --baseVersion 17.12.5 --targetVersion 17.13.0 --languages en-US
2.Update the Visual Studio Installer
vs_enterprise.exe --quiet --update --offline C:\VSLayout\vs_installer.opc
3.Update the Visual Studio application
vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
Docs Referred:
Update the layout to a specific version of the product
Update Visual Studio from a layout
Microsoft has a handy post that details what you need to do. Essentially, at the command line on the computer with internet access, execute:
vs_enterprise.exe --layout c:\localVSlayout
Replace c:\localVsLayout with where you want to dump the files. It's going to be big! You may need to change vs_enterprise.exe with the correct executable name for your version of Visual Studio.
Hi Shay Wilner,
You can download Visual Studio 2022 community by using this link. Hope this helps! If my answer was helpful, please follow the instructions here so others with the same problem, can benefit as well.
Vs 2022 community is no longer available. The current version is vs 2026 community. Vs 2022 is only available as a paid version now.
The simplest way is to use the NuGet console.
simply navigate to:
Open VS >> Tools menu >> NuGet Package Manager >> Console Command.
Alternatively: Options >> NuGet Package Manager >> Package Sources dialog box.
Once the console appears at the bottom page, type:
PM> Install-Package bootstrap -Version 3.3.7
If this gives you any issues or helps, please let me know.
NuGet package manager: https://www.nuget.org/packages
You could also copy the folder of the package after it has been installed on a project. You can find packages used in your project at:
C:\Users\%user_name%\source\repos\%project_name%\packages
Copy the folder of the package that you want for offline purposes and paste it in:
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages
So whenever you want to add packages you don't have to write it as a command. Remember to restart your Visual Studio after you do it.
Go to Tools > Nuget Package Manager > Manage Nuget Packages for Solution..., then change the Package source to Microsoft Visual Studio Offline Packages. It should be there in the Browse section.
For more information, see this video: https://www.youtube.com/watch?v=M2AyQnYrNR4