


The minimal offline layout will be generated starting with this version. Specifies a directory in which to create a minimal offline layout. Verify: Use this command to determine if the layout folder is corrupted.įix: Use this command to fix a corrupted layout folder, including replacing any missing packages from the layout folder. MinimalLayout.exe regenerate -filePath C:\MinimalLayout\MinimalLayout.json This is useful if you want to create a minimal layout for a new Visual Studio update based on the previous minimal layout's response file.įor this command, a MinimalLayout.json file path from an already generated layout is required. You can use the Regenerate command and a MinimalLayout.json response file to regenerate the minimal layout. Every minimal layout produces a MinimalLayout.json response file, which contains the original minimal layout input parameters. Regenerate: Use this command to regenerate a layout using an existing minimal layout response file. Generate: Use this command to generate the minimal layout for updating Visual Studio. Preview: Use this command to preview how many packages will download, and the total space used to create this layout. At least one command is required to run the tool. MinimalLayout.exe uses the following commands and options to generate the layout. The minimal layout tool will be installed to C:\Program Files (x86)\Microsoft Visual Studio\MinimalLayout. Next, accept the User Account Control prompt by clicking Yes. Make sure to choose Save when prompted, then select Run. Installing the minimal layout toolįirst, download the minimal layout tool located here. The minimal layout downloads only updated packages, so it's smaller and easier to copy to offline machines. Normal layout creation is required for repairing, uninstalling, and other standard operations on Visual Studio instances. During normal layout creation, all the packages for that particular release are downloaded. The layout can be deployed to network/offline machines to update Visual Studio instances. This tool creates update layouts for Visual Studio 2017 (15.9) and onwards. For more information about how to do so, see the Update a network-based installation of Visual Studio page.įor a better understanding of the Visual Studio lifecycle, see the Visual Studio Product Lifecycle and Servicing page. These instructions assume that you've previously created and used layouts.
