White with cruiseControl

Aug 31, 2009 at 8:11 PM

I have a white unit test assembly which has few tests.

I have an MSbuild script that runs the test.

I added that script to be run from CruiseControl, but without success.

I can run the MSbuild script successfully from the command line, while I am loggin with the same user which is used to run the cruise control service on the server.

but when I run it from the cruise control, it gives me this error message:

<![CDATA[System.ApplicationException : Couldn't load application ( Waiting for app to start )with given parameters. Dir: c:\...Release\..\..\.

System.ApplicationException : Couldn't find main window created for application
TearDown : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----> System.NullReferenceException : Object reference not set to an instance of an object.]]></message>

any toughts?