How to create Xamarin.Mac app from command line or build script

We have a Xamarin.Mac app that's ready for continuous integration via TeamCity.

We have a build host on a Mac machine where Xamarin Studio is installed. The next step is to create a build step in the build configuration.

Unlike VS, Xamarin Studio doesn't seem to have a Xamarin.Studio player for TeamCity. Thus, as recommended by the articles on the Xamarin Wiki, build scripts such as Rake should be used.

I, as a .Net developer, did a day's Rake training and unfortunately I don't like it.

Another thing is that I don't know which command will create my .sln file, given that I am reusing some of the Rakefile I found on the internet. Please tell me what is the command to build .sln in Xamarin Studio for Mac.

Thank.

+3


source to share


1 answer


We are using Jenkins with a bash script, but the command we call mdtool is like this

/Applications/Xamarin Studio.app/Contents/MacOS/mdtool build -p:"PROJECT_NAME" -t:Build -c:"RELEASE_TYPE" "SOULTIONFILE.sln"

      



Just looked at this one on the Xamarin forums about Mac Build Automation

+1


source







All Articles