Running a **TeamCity** build agent to run **NUnit** tests on **Ubuntu 14.04 LTC** with the latest build of **mono** appears to have some dependency issues that I cant for the life of me solve.
I have followed the following installation steps

* [Mono Installation Steps for 4.0.1](http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives)
* [Team City Build Agent](https://gist.github.com/markus101/4350aee8eba167bc8efa)

When the TC Build Agent starts the NUnit step, it simply fails, and looking at the logs shows it executes

```
/usr/bin/mono-sgen /home/ubuntu/buildAgent/plugins/dotnetPlugin/bin/JetBrains.BuildServer.NUnitLauncher.exe

```

which promptly returns with

```
Corlib not in sync with this runtime: expected corlib version 117, found 111.
Loaded from: /usr/lib/mono/4.0/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.mono-project.com/download.

```

Is there any possible way to get this to work? I have tried removing all the pieces and re-installing again and even installing a older version of mono build but to no avail.

The TC connection appears to work and I can manually invoke and call *mono* on its own and even *nunit-console* however this .exe build provided by TC seems to have be stumped as linux non-expert.

Please save me from dependency hell!!

**Edit**: I ended up just solving my problem by installing `nunit-console` and enabling the XML Report processing build feature rather than play around with the corelib files and break something else.