I have been running a build that uses NCOVER for about a month now.
Today it started dying with the following information. I made only one change. I moved a class and its associated NUnit test from one DLL to another. The DLL that used to have the class and the test now has no NUnit tests. NCover is dying when it tries to process this (now - NUnit-less) DLL.
Any help greatly appreciated!
I can't JIT-debug since the account I am building with does not have the right permissions. If you know how to set this please let me know, I have looked, but can't find how to do this.
External Program Failed: C:\Program Files\NCover\ncover.console (return code was 128)
ncover return code was 128
ncover return code was 128
---------------------------
nunit-console.exe - Application Error
---------------------------
The instruction at "0x791bc807" referenced memory at "0x031271dc". The memory could not be "read".
Click on OK to terminate the program
Click on CANCEL to debug the program
---------------------------
OK Cancel
---------------------------
piece from the nant file
<!-- -->
<!-- NCover 1.3.3 -->
<!-- -->
<target name="ncover" depends="nunit">
<foreach item="String" delim="," property="src.dir" in="${source.dirs}">
<!-- NCover 1.3.3 -->
<!-- -->
<target name="ncover" depends="nunit">
<foreach item="String" delim="," property="src.dir" in="${source.dirs}">
<exec
program="${ncover133.dir}\ncover.console"
workingdir="${build.dir}"
commandline='/c "${nunit.bin.dir}\nunit-console" "${src.dir}.dll" /q /o "${status.dir}\${src.dir}.dll-coverage.xml"' />
program="${ncover133.dir}\ncover.console"
workingdir="${build.dir}"
commandline='/c "${nunit.bin.dir}\nunit-console" "${src.dir}.dll" /q /o "${status.dir}\${src.dir}.dll-coverage.xml"' />
</foreach>
</target>
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!