A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
For an offline update from Visual Studio 2019 16.11.11 to 16.11.60, a full layout is not required. A minimal offline layout is the supported way to update offline Visual Studio instances because it contains only the updated packages needed for the version range.
Use this approach instead of rebuilding a general-purpose layout with workload switches:
- Generate a minimal layout for Visual Studio Professional covering the exact version range.
MinimalLayout.exe generate --targetLocation C:\VSLayout\ --productIds Microsoft.VisualStudio.Product.Professional --baseVersion 16.11.11 --targetVersion 16.11.60 --add Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --languages en-US - Verify the layout for missing or corrupt packages.
MinimalLayout.exe Verify --targetLocation C:\VSLayout\ --productIds Microsoft.VisualStudio.Product.Professional --baseVersion 16.11.11 --targetVersion 16.11.60 --add Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --languages en-US - If Verify reports problems, fix the layout.
MinimalLayout.exe fix --targetLocation C:\VSLayout\ --productIds Microsoft.VisualStudio.Product.Professional --baseVersion 16.11.11 --targetVersion 16.11.60 --add Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop;includeRecommended --languages en-US - On the offline machine, update the Visual Studio Installer first.
vs_professional.exe --quiet --update --offline C:\VSLayout\vs_installer.opc - Then update the installed Visual Studio instance and explicitly block web downloads.
vs_professional.exe update --noWeb --quiet --installPath "C:\Program Files\Microsoft Visual Studio\2019\Professional"
Important points for the behavior being seen:
-
--noWebis the recommended option when updating from a minimal offline layout because it prevents installation of components that are not in the layout and helps avoid leaving Visual Studio unusable. - If the installer reports missing packages, the layout itself is incomplete, corrupt, or not built for the exact update scenario. The supported remediation is to run Verify and fix on the minimal layout.
- If multiple Visual Studio instances are installed, each instance must be updated separately with its own
--installPath. - A minimal layout is specifically intended for offline updates and is smaller than a full layout because it contains only updated packages.
- A minimal layout cannot be used to repair an installation; it is for updating an existing instance.
For a standard network layout, the update source must already contain the updated Visual Studio version before clients update from it. Also ensure the account running the update has access to the network share or internal website hosting the layout.
If the update still fails after rebuilding the layout with the minimal layout tool and running Verify/fix, use the installation troubleshooting guidance or installation chat support.
References: