I am currently running the latest TeamCity EAP (10455) and all have been working fine until I upgraded my solution to use vs2010 beta 2 and .NET 4 beta 2.
I added an Environment Variable for MSBuild as %system.DotNetFramework4.0_x86_Path% and my solution compiles correctly but I get an obscure exit code of -2147024770 when trying to run unit tests.
The exact message returned is:
[23:04:48]: Project "Family Photos CI.msbuild.teamcity.patch.tcprojx" (UnitTests target(s)): (18s)
[23:05:06]: [Project "Family Photos CI.msbuild.teamcity.patch.tcprojx" (UnitTests target(s)):] C:\TeamCity\buildAgent\work\b1e52153a9216776\Builds\Family Photos CI.msbuild(23, 5): c:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe "@@" C:\TeamCity\buildAgent\temp\buildTmp\tmp683C.tmp exited with code -2147024770.
Any help to resolve this issue would be appreciated.