Mono xBuild support on mac

TeamCity does not seem to recognize a system installed mono on mac out of the box.

MacOSX does not come with pkg-config, which it looks like TeamCity is using.

Mono was installed using the official Mono OSX installer from Novell.

Is there a way to convince Teamcity I have mono installed, without having to install macports to get pkg-config?

5 comments

Please, take a look at http://confluence.jetbrains.net/display/TCD5/Mono+Support, Agent Properties section.
It's sufficient to define Mono and MonoVersion (system.Mono and system.MonoVersion there)
properties in buildagent.properties file to run mono builds.

0

What would be the correct values for these settings?

I've tried:

system.Mono=/Library/Frameworks/Mono.framework/Versions/2.6.4
system.MonoVersion=2.6.4

as well as

system.Mono=/Library/Frameworks/Mono.framework/Versions
system.MonoVersion=2.6.4

both of which still cause MSBuild to be an incompatible runner for this agent. (runner configured to use Mono xBuild)

0

You should specify path to mono executable, like

system.Mono=/Library/Frameworks/Mono.framework/Versions/2.6.4/bin/mono

(check that this file exists and executable!)

0

Mono detection (out of the box) under Mac OS X has been implemented in TeamCity 6, see http://confluence.jetbrains.net/display/TW/TeamCity+EAP for early builds

0

Please sign in to leave a comment.