'Xamarin.Web.Installer.InstallException' exception during installation Visual Studio on MacBook

Hi guys,

I recently downloaded a Visual Studio 2017 for iOs and after I started an installation process it trows me an exception.

Maybe someone had this error in the past? Will be appreciated for any advise.

Visual Studio installation failed with exception 'Xamarin.Web.Installer.InstallException' (Attempt #3)
Message: Failed to attach DMG image '/Users/qatesting/Library/Caches/XamarinInstaller/Universal/downloads/visualstudioformac-7.6.10.27.dmg'. Error code 1.
Exception type: Xamarin.Web.Installer.InstallException

at Xamarin.Web.Installer.MacInstallationArchiveHandler.MountDmg (System.String path) [0x00059] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/MacInstallationArchiveHandler.Mac.cs:71
at Xamarin.Web.Installer.MacInstallationArchiveHandler.InstallDmg (System.String path, System.Boolean needsPrivileges) [0x0002f] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/MacInstallationArchiveHandler.Mac.cs:100
at Xamarin.Web.Installer.Installer.InstallationArchiveHandler.Install (System.String path, System.Boolean needsPrivileges) [0x00056] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/Installer/InstallationArchiveHandler.cs:33
at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Xamarin.Web.Installer.Installer.InstallationArchiveHandler,string,object)
at Xamarin.Web.Installer.Installer.BaseSoftwareItem.InstallDownloadedItem (System.String url, Xamarin.Web.Installer.Installer.InstallationArchiveHandler handler, Xamarin.Web.Installer.DownloadServiceWorkItem download) [0x0025e] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/Installer/BaseSoftwareItem.cs:278
at Xamarin.Web.Installer.Installer.BaseSoftwareItem.Install (System.UInt32 tryNumber) [0x000ed] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/Installer/BaseSoftwareItem.cs:303
at Xamarin.Web.Installer.Installer.XamarinIDEBase.Install (System.UInt32 tryNumber) [0x00000] in /Users/vsts/agent/2.139.1/work/1/installer/Xamarin.Web.Installer/Installer/XamarinIDEBase.Mac.cs:74
at MacInstaller.WizardPageInstallationController.InstallationWorker () [0x001f1] in /Users/vsts/agent/2.139.1/work/1/installer/MacInstaller.Universal/WizardPageInstallationController.cs:551

Thanks!

Posts

  • isescoisesco Member ✭✭

    You can try to clean the installer cache by running the following command:

    • rm -rf ~/Library/Caches/XamarinInstaller/Universal
    • Run the installer once again.
Sign In or Register to comment.