Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. very long time to build new workspace - possibly the cause is nuget

    For anyone interested, the recently released v1.39b contains a fix that should greatly reduce the disk consumption of solutions that are using Nuget.

  2. NCrunch Build Failing With RamDisk + NuGet Enable Restore

    For anyone interested, the recently released v1.39b contains a fix that should greatly reduce the disk consumption of solutions that are using Nuget.

  3. Enable NCrunch menu option is disabled

    For anyone interested, the issue described above (devenv.exe left hanging) was caused by a random deadlock on exit of VS and has been fixed in the most recent release of NCrunch (1.39b).

  4. MSTest - NCrunch doesn't fail on multiple TestInitialize

    Hi James, Thanks for reporting this. It's of no surprise to me as NCrunch's test runner only emulates MSTest behaviour rather than integrating with it directly. I expect there will be other similar misalignments, though right now I'd prefer to avoid adding many of these constraints to the NCrun…

  5. nuget-installed ninject.extensions.factory fails under ncrunch

    Hi James - I believe so. I'm not familiar with this framework myself but based on the comment of the author my expectation is that it is loading assemblies into the app domain dynamically, with the expectation that they exist in the same directory as the executing DLL. Have a look [url=https:…

  6. Partial coverage treated as no coverage? [1.39b]

    Would you be able to share the line of code that's showing partial coverage? This will help me to identify whether it's something I'm able to fix. Thanks! Remco

  7. Indicators get confused over time [1.39b]

    Hi Alan - This is caused by a problem in NCrunch's mapping algorithm that I've been trying to track down. I'm sure it will eventually come out in the works, but if you do find a way to consistently reproduce it please do let me know .. it's an elusive one! Cheers, Remco

  8. NCrunch locks folders

    Thanks, I've been able to reproduce the problem perfectly using the steps you've described above. It looks as though the methods NCrunch is using to watch files are interfering with nested rename operations. I'll have a deeper look into this to see what I can do. Cheers, Remco

  9. Arbitrary executable as test runner

    Hi Mauircio, Thanks for posting! It is possible to have NCrunch execute the code within your .exe, though you may need to change the way you are approaching the problem. If the .exe is launched into its own process (as is the normal behaviour with .exes), NCrunch won't be able to take control…

  10. Local variables unavailable when debugging

    Hi Will, Thanks for posting about this issue and I agree that it's a cause for frustration. NCrunch does have a known issue at the moment around some of its manipulation of PDB files and this is known to cause some problems with the debugger, though I don't think this should be affecting local…

  11. NCrunch locks folders

    Hi, thanks for posting and I'm glad your enjoying NCrunch! NCrunch will only perform builds and run tests within a workspace it has created for itself, so if you're experiencing file locking problems inside your solution, there is a high likelihood that you have absolute file path references some…

  12. Build failure - no space before base class

    Hi John, I think your analysis is correct in that this issue is also being caused by race conditions between the script you're running and NCrunch's workspace construction. Have you noticed any further issues around NCrunch throwing build errors related to source files? Or does it now only seem…

  13. MissingMethodException when calling extension method

    Nice blog post and thanks for the mention!

  14. MissingMethodException when calling extension method

    Thanks, this helps a lot. I'll see what I can do about arranging a proper fix for this. Cheers, Remco

  15. MissingMethodException when calling extension method

    Hi Jim, You've hit the nail on the head with the duplicate assemblies. The CLR tends to get confused if two assemblies with the same name are loaded into the App Domain, and in this situation it can be tough to know what is the correct answer - as the runtime code seems to depend upon both versi…

  16. code markers not showing up in 1.39b

    Hi Dan, Thanks for posting and I'm glad you've been enjoying NCrunch! The problem you've described above is caused by Visual Studio failing to provide NCrunch with a pre-registered adornment layer. This is a problem that has been known to affect both NCrunch and other plugins seemingly at ran…

  17. MissingMethodException when calling extension method

    I think what would be interesting is to try and find the assembly being resolved by NCrunch's test environment and find out why it's different to the one you've referenced. Try breaking into the code using NCrunch's debugging options and have a look at the list of modules loaded using your debugg…

  18. Never ending test execution

    Hi - Thanks for reporting this problem. It looks to me like this is a localization issue where NCrunch is having difficulty parsing Czech exception strings. I'll see what I can do about getting this fixed in a future revision. Cheers, Remco

  19. Code Coverage not respecting ExcludeFromCodeCoverage

    NCrunch uses a different mechanism for handling and excluding code coverage, so framework-specific attributes such as this one are not supported by the metrics view. If you wish to avoid aggregating metrics from certain areas of your source code, currently the only way to do this is to use the 'Exc…

  20. 139b ... doesn't seem to honour machine.specifications.ignore attribute

    Hi, thanks for reporting this problem. I've managed to reproduce this myself and can confirm that NCrunch is not respecting MSpec's ignore attribute. I'll make a note to fix this in an upcoming release. As a workaround, I suggest you also ignore your MSpec tests using the NCrunch Tests Window for…