Home > other >  How to create a local layout for MAUI and install it offline?
How to create a local layout for MAUI and install it offline?

Time:09-23

The documentation has provided a simple way to create a local layout for Visual Studio here. For example, the following command can create a local layout for .NET web and .NET desktop development.

vs_enterprise.exe --layout c:\localVSlayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeOptional --lang en-US

I want to create a local layout for MAUI and install it on different PCs. The documentation has not provided any information for MAUI offline download. How can I download it?

CodePudding user response:

I solved this problem using the following command:

vs_enterprise.exe --layout c:\localVSlayout --add Microsoft.VisualStudio.Workload.XamarinBuildTools --includeOptional --lang en-US

For more information about VisualStudio Workloads, go to here.

  • Related