System.Net.Sockets.SocketException

System.Net.Sockets.SocketException

Unhandled Exception: System.Net.Sockets.SocketException:

No connection could be made because the target machine actively refused it

 

???


Re: NCover with NAnt or MSBuild

I've written custom NAnt and MSBuild tasks for NCover - you can find the downloads in the NCoverExplorer.Extras.zip file on my blog page. There is also documentation and examples.


Re: NCover with NAnt or MSBuild

Thanks for the fast response. This is exactly what I need.

I'm creating the NUnit proj file with your step and then execute ncover with your ncover step. The only problem now is that ncover can not connect to nunit-console for some reason. It is stuck with the message "[ncover] Waiting for profiled application to connect...". Any idea what could be wrong?


Re: NCover with NAnt or MSBuild

Try setting verbose to true on the task and looking at the output. Most likely cause is a problem with the command line arguments for the application being profiled - in this case nunit-console.