Remco;12255 wrote:I think that this problem may be related to an optimisation in MSBuild, where it doesn't update files unless they have a timestamp mismatched with the file being updated. I've seen this happen before when using high-end hardware on tiny projects with older versions of MSBuild (i.e. 2008, 2010), because the system runs the build so quickly that two different builds executed in sequence don't have enough of a gap for the timestamp to be separated, so the files don't get copied and the source code falls out of sync with the binaries.
This is all theory at this stage, because such a situation is so hard to reproduce that there isn't likely to be a way that I can confirm that it's happening for you. To be honest, it's been years since I've seen it happen.
However, if it IS the problem, then likely it will go away on it's own as you continue to add code to your project. All you need is the tiniest increase in your build time, and you'll never see it again.
I'm also experiencing the same issue:
[img]http://www.dropbox.com/s/f9cwa5ti0ugdv94/NCrunchCoverageMarkersAlignment.PNG?raw=1[/img]
Sorry - can't seem to get the image to display - copy paste the URL in another window to view or click this link:
screenshot of alignment issueI also note that my solution, and in particular the project that this test is covering, is rather large so I suspect it's not the timing issue here.
I realise that this is a hard issue to solve for. More than anything just letting you know that there looks like a few of us out here having the issue. It's a bit of a shame as I'm trying to convince my client to purchase NCrunch for the dev team and this issue doesn't help my case. :( Overall though, I've been using NCrunch for years and think it's an awesome tool! #welldone
Cheers,
Paul