I am attempting to build an ASP.NET MVC 4 project. From the terminal it succeeds. I am logged in as my admin account. Teamcity was installed with its' default settings.
From the command prompt:
xbuild /var/TeamCity/buildAgent/work/8873763565ce1ac8/Source/Momntz.UI/Momntz.UI.csproj /t:Rebuild /p:config=Debug/var/TeamCity/buildAgent/work/8873763565ce1ac8/Source/Momntz.UI/Momntz.UI.csproj /t:Rebuild /p:config=Debug
/opt/mono-2.11/bin/xbuild /var/TeamCity/buildAgent/work/8873763565ce1ac8/Source/Momntz.UI/Momntz.UI.csproj /t:Rebuild /p:config=Debug
/opt/mono-2.11/bin/dmcs: 2: /opt/mono-2.11/bin/dmcs: mcs: not found /opt/mono-2.11/lib/mono/4.0/Microsoft.CSharp.targets: error : Compiler crashed with code: 127. Task "Csc" execution -- FAILED
It feels like a permissions issue, but I'm new to Ubuntu and I don't know how to go about tracking the issue down.