title: Visual Studio installation failed in MAC OS X
body: <p>Downloaded Visual Studio installer from <a href="https://visualstudio.microsoft.com/vs/mac/" rel="nofollow noreferrer">https://visualstudio.microsoft.com/vs/mac/</a> first and started the download and install process.</p>
  
  <p>At the end of the installation process, it came up with the following error. all things were run with admin permissions.</p>
  
  <pre><code>Installation of 'Visual Studio' failed with exception.
  MacInstaller.Models.Installer.InstallException: Failed to copy application directory to its destination by NSFileManager. 'path': /private/tmp/dmg.lNyJgV/Visual Studio.app, 'applicationPath': /Applications/Visual Studio.app
    at MacInstaller.Core.Installer.InstallationProvider.InstallApp (System.String path, System.Boolean needsPrivileges) [0x00163] in /Users/runner/runners/2.165.2/work/1/installer/MacInstaller.Universal/Core/Installer/InstallationProvider.cs:254 
    at MacInstaller.Core.Installer.InstallationProvider.InstallDmg (System.String path, System.Boolean needsPrivileges) [0x00176] in /Users/runner/runners/2.165.2/work/1/installer/MacInstaller.Universal/Core/Installer/InstallationProvider.cs:144 
    at MacInstaller.Core.Installer.InstallationProvider.Install (System.String path, System.Boolean needsPrivileges) [0x00044] in /Users/runner/runners/2.165.2/work/1/installer/MacInstaller.Universal/Core/Installer/InstallationProvider.cs:49 
    at MacInstaller.Core.Installer.BaseSoftwareItem.Install (System.String filePath) [0x00000] in /Users/runner/runners/2.165.2/work/1/installer/MacInstaller.Universal/Core/Installer/SoftwareItems/BaseSoftwareItem.cs:132 
    at MacInstaller.Core.Installer.BaseSoftwareItem.Install (MacInstaller.Models.Downloader.DownloadServiceWorkItem download) [0x000a1] in /Users/runner/runners/2.165.2/work/1/installer/MacInstaller.Universal/Core/Installer/SoftwareItems/BaseSoftwareItem.cs:123 
    at MacInstaller.Core.Installer.BaseSoftwareItem.Install () [0x00007] in /Users/runner/runners/2.165.2/work/1/installer/MacInstaller.Universal/Core/Installer/SoftwareItems/BaseSoftwareItem.cs:107 
    at MacInstaller.Core.Installer.IDEBaseSoftwareItem.Install () [0x00000] in /Users/runner/runners/2.165.2/work/1/installer/MacInstaller.Universal/Core/Installer/SoftwareItems/IDEBaseSoftwareItem.cs:50 
    at MacInstaller.InstallationViewController.InstallItems () [0x000bf] in /Users/runner/runners/2.165.2/work/1/installer/MacInstaller.Universal/Views/Pages/InstallationViewController.cs:361 
  </code></pre>
  
  <p>For now, I have been struggling a complete day trying to set up this with different combinations.</p>
  
  <p><strong>Dev environment</strong></p>
  
  <ul>
  <li>OS version : Mojave (10.14.5)</li>
  <li>xCode version : 10.2.1</li>
  <li>Visual Studio for mac v8.5.2 (build 13)</li>
  <li>.NET Core SDK : 3.1.201</li>
  <li>.NET Core Runtime : 2.1.16</li>
  </ul>
  
  <p><strong>Things did so far</strong></p>
  
  <ul>
  <li>removed all the partially installed files and did a clean install. <a href="https://social.msdn.microsoft.com/Forums/en-US/6a94b169-82c3-4ace-8de1-0c090e67a198/cant-install-mac-visual-studio-2019-community?forum=vssetup" rel="nofollow noreferrer">https://social.msdn.microsoft.com/Forums/en-US/6a94b169-82c3-4ace-8de1-0c090e67a198/cant-install-mac-visual-studio-2019-community?forum=vssetup</a></li>
  <li>Installing by removed different component combinations(Android, iOS SDK, .netCore)</li>
  </ul>
  
  <p>referred links</p>
  
  <ul>
  <li><a href="http://dotnet.community/threads/cant-install-mac-visual-studio-2019-community.131734/" rel="nofollow noreferrer">http://dotnet.community/threads/cant-install-mac-visual-studio-2019-community.131734/</a></li>
  <li><a href="https://developercommunity.visualstudio.com/content/problem/55238/visual-studio-for-mac-installation-error.html" rel="nofollow noreferrer">https://developercommunity.visualstudio.com/content/problem/55238/visual-studio-for-mac-installation-error.html</a></li>
  </ul>
  
  <p>none of above is worked for me, any suggestions would be appreciated.</p>