Forum Xamarin.Forms

Build XF project on Mac using script

tutugeorgetutugeorge USMember ✭✭

How to initiate a build and compile action on a Mac machine for a Xamarin Forms solution? I want to write a script to do my build action as part of build automation.

I know we could initiate build for .net projects on windows machine using msbuild. What is the equivalent in Mac OS.

Answers

  • JohnMillerJohnMiller USForum Administrator, Xamarin Team Xamurai

    @noobsaibot,

    xbuild is the equivalent. You can use similar commands, just use xbuild instead of msbuild. Take a look at our CI documentation for some examples.

  • tutugeorgetutugeorge USMember ✭✭

    From what the documentation what i could understand is that for Xam iOS project xbuild is required for build and for xam Android msbuild is required.

    But in case of Forms application with iOS , Android & PCL project, how should be proceed. Or should we build different projects using corresponding xbuild or msbuild tools.

Sign In or Register to comment.