I’m trying to get NUnit test output XML showing within TeamCity, but found that there are problems getting the test results in one nicely merged output file. So I found a workaround developed by Davy Brion that I thought I’d try.
When I run it, however, I get:
D:\Program Files\TeamCity\buildAgent\work\15aafe2852f53ad5\zoka.solution.build(36, 3): error MSB4018: The “NUnitMergeOutput” task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)
Anybody have a clue what might be going on, or how to troubleshoot the error?