Forum Visual Studio

Visual Studio Mac Error : Custom command execution failed !

I recently upgraded VS for mac and getting an error "Custom command execution failed" error. Its a Xamarin Mac project. Any help appreceated.


  • luke_iluke_i Member

    having same issue, any solutions?

  • Try this command..

    ~$ sudo xcode-select -s /Applications/

  • AllanChin.6924AllanChin.6924 USUniversity ✭✭✭
    edited May 2019

    Ran into a 2 of these after an upgrade. A search of the build output revealed a couple of these.

    **_Executing: sh -c 'xcodebuild -project xxx.xcodeproj -configuration Debug clean build'
    note: Using new build system
    error: Could not delete .../build because it was not created by the build system.


    Manually moved the 2 offending "build" folders to Trash and the errors went away. Maybe because of the new OS and dev environment?

  • cbusquecbusque Member
    edited May 2019

    In XXX.csproj, I had to replace

    <Command type="BeforeBuild" command="" />

Sign In or Register to comment.