The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Visual Studio installed from an offline layout still uses the channel information in the layout to determine whether a newer version exists. If the channel points to Microsoft’s online channel, Visual Studio will detect that 18.6 is not the latest and prompt to update. When the prompt is dismissed, the IDE can close instead of continuing.
To keep an offline, controlled environment and avoid this behavior, the installation must be tied to a layout whose channel is under administrative control and updated only when desired.
Use these steps:
- Create or update an offline layout on a connected machine
- Create the layout (example):
vs_enterprise.exe --layout C:\vsoffline --lang en-US - Or update an existing layout to the desired 18.6 version using the appropriate 18.6 bootstrapper or an administrator update, as described in the layout maintenance guidance.
- Create the layout (example):
- Host the layout on a controlled share and override the channel
- Copy the layout to the network or removable media location used for offline installs:
xcopy /e C:\vsoffline \\server\share\VS - In the layout folder, edit
response.jsonand changechannelUriso that it points to a channel manifest you control instead of the Microsoft online channel. For example:"channelUri":"\\\\server\\share\\VS\\ChannelManifest.json" - Ensure that
ChannelManifest.jsonin that location corresponds to the 18.6 channel you want to standardize on.
- Copy the layout to the network or removable media location used for offline installs:
- Install Visual Studio from that controlled layout
- On the offline corporate PC, install using the layout and prevent web access:
\\server\share\VS\vs_enterprise.exe --noWeb - If specific workloads/components were used when creating the layout, pass the same
--add,--includeRecommended, and--includeOptionalswitches used during layout creation so the installer does not try to reach the web for missing components.
- On the offline corporate PC, install using the layout and prevent web access:
- Control future updates strictly via the layout
- When a newer version is approved, update the layout itself (for example, with
vs_enterprise.exe --layout \\server\share\VS --lang en-USor an administrator update) and keepresponse.jsonpointing to the controlledChannelManifest.json. - Client machines that were installed from this layout will then see only the versions available in the updated layout/channel, not the public online channel.
- When a newer version is approved, update the layout itself (for example, with
If the problem persists even after ensuring channelUri points to a controlled channel and --noWeb is used, collect logs and use the Visual Studio “Report a Problem” tool or the installation chat for further investigation.
References:
- Create an offline installation package of Visual Studio for local installation
- Create and maintain a network installation of Visual Studio
- Control updates to network-based Visual Studio deployments
- Update a Visual Studio client that was installed from a layout
- Update Visual Studio using a minimal offline layout
- Install certificates required for Visual Studio offline installation
- Report a problem with the Visual Studio product or installer