Install Visual Studio Professional 2019 Official

    Yes for the web installer. However, you can create an offline layout using --layout c:\offlineVS on a connected machine and transfer the ~30GB folder to your offline dev box.

    $Components = $Workloads | ForEach-Object "--add $_" $Languages = $LanguagePacks | ForEach-Object "--includeRecommended --includeOptional" $CmdArgs = @( "modify", "--installPath "$InstallPath"", "--productId $ProductId", $Components, "--quiet", "--norestart", "--wait", "--nocache" ) -join " " install visual studio professional 2019

    function Write-Log param([string]$Message) $timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss" $logMessage = "$timestamp - $Message" Write-Host $logMessage Add-Content -Path $LogPath -Value $logMessage Yes for the web installer

    To optimize disk usage and ensure relevant tools are available, the following workloads were selected: To optimize disk usage and ensure relevant tools

    Note: Individual components for .NET Framework 4.8 SDK and Code Tools were implicitly selected via the workloads.