Visual Studio 2019 - Anyone find a good deployment method?

Contributor II

Has anyone found a good way to deploy Microsoft Visual Studio 2019?

Microsoft currently does not have a full macOS package of Visual Studio 2019.
Trying to get the full package via Unity still gives the previous version (as of 2019.1.8f1).

The only think I've thought of is trying composer snap shot, then referencing the uninstall scripts to make sure I don't prune anything -

I was also thinking, install the previous version, and see if there's a way to automate the upgrade?


Contributor III

Are you trying to cache everything to one location on your network for an install to conserve bandwidth, or are you just looking for an easy way to deploy? Microsoft at the moment says there is no way to make an offline installer like they have for Windows:

if bandwidth isn't much of a concern, you could upload the dmg and run a script to start the installation running as your management account

Contributor II

Easy way to deploy, have unlimited bandwidth resources.
I could not find a complete dmg file, just the installer that downloaded the rest, and could not find a way to automate it via script.

While working on Facebook React Native CLI deployment, which in part uses Homebrew ( and noticed in the formulas ( saw visual studio recipe, running it reveled FULL dmg file which I can deploy.

Download Links


.Net Core for VS

Visual Studio 2019 Core App (553mb)

Since it appears the core app is drag to application folder, a lot of the decencies may be mono / Xamarin related.

Xamarin Profiler

Xamarin Inspector & Workbook

I don't need the Xamarin additional software, still trying to track down following related packages

Valued Contributor

@CSCC-JS  Thanks for the links this is what I came up with in Composer.


# Created by Kyle Ericson
# Visual Studio 2019

if [[ $(arch) != "i386" ]]; then
        echo "M1"
        /usr/sbin/installer -pkg "/tmp/VS/dotnet-sdk-6.0.101-osx-arm64.pkg"  -target /

        echo "Intel"
        /usr/sbin/installer -pkg "/tmp/VS/dotnet-sdk-6.0.101-osx-x64.pkg"  -target /
/usr/sbin/installer -pkg "/tmp/VS/MonoFramework-MDK-" -target /
/usr/sbin/installer -pkg "/tmp/VS/profiler-mac-1.6.13-11.pkg" -target /
/usr/sbin/installer -pkg "/tmp/VS/XamarinInteractive-1.5.0.pkg" -target /

exit 0


Read My Blog:

Thanks for capturing this Kyle it has been super helpful. One of our Developers mentioned that when using the Web API, Web Application, Web Application (Model-View-Controller) template nothing happens and the New Project window just hangs. Have you experienced this? 

Turns out the issue was .Net 6. Seems visual studio only likes 3 and 5:

New Contributor III

Hi there, did creating a Composer package work for you? I'm trying to get the Visual Studio (Preview) v17.5.0.1766 working on a lab running MacOS Ventura 13.0 and my policy is failing to install. Built the package using a New & Modified Snapshot. After the first failure I rebuilt the package with all permissions set to 777 (owner: root, group: wheel) just in case, reuploaded to Jamf Admin, rebuilt the policy with the new package, redeployed and got the same message. No further info in the install log or jamf logs on the device.

Copied from policy results:


Installing Visual Studio for Mac
Installation failed. The installer reported: installer: Package name is Visual Studio for Mac
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An unexpected error occurred while moving files to the final destination.)