Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Post Build Event Failing

    My guess at the moment is that the post build event is copying the files to the build output directory of GitClassLibrary, although either the test code or the code under test is trying to find the files in the build output directory of TestProject. When running the tests outside of NCrunch, both o…

  2. Post Build Event Failing

    Great, that's progress! I'm wondering if the DllNotFoundException is being caused by libgit2sharp making [url=http://www.ncrunch.net/documentation/considerations-and-constraints_assembly-colocation-assumptions]assembly colocation assumptions[/url]. A quick fix to this may be to turn on the [url=ht…

  3. ncrunch can' t build at first time.

    Thanks for sending through the bug report. I'm wondering if you'd be able to try the following steps: 1. Reinstall NCrunch: Run the uninstaller, ensure that the directory at "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Remco Software" and everything in it is remove…

  4. Post Build Event Failing

    Hi, thanks for posting! My first thought is that the post build event is [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]trying to copy files that don't exist in the NCrunch workspace[/url]. This is most likely because the files aren't referenc…

  5. Strange behaviour -- installation corrupt?

    Hi, thanks for sharing this issue! The complicated thing with developing plugins for Visual Studio is that they are different pieces of software developed in isolation of each other, and it's possible that they may make use of different versions of the same component - causing clashing within the…

  6. Issue when using conditional compilation symbols in linked file

    Hi Yang, Thanks for sharing this! I was able to solve this problem by adjusting the NCrunch configuration for the test project, setting 'Use build platform' to x86. The core issue is that NCrunch doesn't make use of the settings in the Visual Studio Configuration Manager when building projects.…

  7. ncrunch can' t build at first time.

    There shouldn't be any problems with running x86 processes on an x64 processor - so most likely it will be something else. I'm wondering if you'd be able to help with answering a few quick questions - this will help with narrowing down the cause of the problem: - Which version of Visual Studio a…

  8. ncrunch can' t build at first time.

    Hi, thanks for posting! This issue appears when NCrunch tries to create a process in which to execute tests. In rare situations where the process completely fails to initialise, the invocation will time out. Is it possible that you've set up the test project or NCrunch to create an x64 testin…

  9. Copying files with custom build action

    Hi David, The approach you have above is one of two ways you can solve this problem. The other option is to use the [url=http://www.ncrunch.net/documentation/reference_project-configuration_additional-files-to-include]additional files to include[/url] configuration option. This would probably b…

  10. NCrunch does not honor CopyLocal settings in project file.

    Hi, Thanks for sharing this issue. NCrunch currently doesn't acknowledge the Private properties as assigned to reference elements in the build script - I'll make a note to include a future fix for this. I can't think of any workaround that will prevent NCrunch from removing these properties f…

  11. Testlocation with DeploymentItem inconsistent

    Hi Matt - If you're experiencing consistent behaviour in this situation, it's quite likely your experiencing a different problem. Make sure that you've made NCrunch aware of the files that need to be copied by adding them to the [url=http://www.ncrunch.net/documentation/reference_project-confi…

  12. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    Something that may happen is that the closing of the windows takes a while to kick in, because the engine is already overloaded before this happens and it will take a while to register that the windows have been closed. Until then, the lagged processing will continue until it has cleared the backlo…

  13. Make NCrunch's NuGet package support Portable Class Library

    Thanks for reporting this one! I'll make sure it gets addressed with the compatibility improvements in V2. Cheers, Remco

  14. Is it possible to run each test in a separate process to prevent issues with mocked static methods?

    Do you notice any difference if you set up NCrunch in [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url]? This would help to narrow down if the issue is being caused by NCrunch's environment, or something with TypeMock Isolator.

  15. NuGet2.5 native assemblies

    It's interesting that NCrunch isn't picking up the native assemblies using its normal reference resolution. Is it that these assemblies are co-located with other files needed for them in order to run? A lower maintenance but more expensive (performance-wise) way to handle this would be to include …

  16. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    Thanks - this narrows the issue down significantly! It looks as though the step in question is part of the mapping routine where NCrunch synchronises the data from the engine and prepares it for display in the editor window. This has already been identified as a performance issue in V1, but beca…

  17. Second line of multi-line statement reported as uncovered

    NCrunch works fairly low-level in its collection of code coverage information, which can sometimes create ambiguity around LINQ statements - there's some more information about the difference between physical and logical test coverage [url=http://www.ncrunch.net/documentation/troubleshooting_missing…

  18. Some way of locating test "under cursor" in test window

    Normally, the Hot-key combination "Ctrl+M, P" should pin the covering test to the Tests Window, while also setting focus on it. It was part of the intention of the pinned test feature that it could be used for just this reason. Unfortunately, after trying it with active tests shown in the list, it…

  19. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    Hi, Thanks for sharing this issue. When NCrunch becomes unresponsive (and the CPU usage starts to stay high), do you notice any general slowdown in other activities in the IDE? For example, are you able to scroll around your source code, making changes, opening files, etc? If the IDE is stay…

  20. Is it possible to run each test in a separate process to prevent issues with mocked static methods?

    Hi, thanks for posting! NCrunch won't ever run tests concurrently within the same process, but it will re-use processes between execution runs. Traditional serial test runners don't do this, so not all tests have been engineered to consider it. Broadly, there are two ways to do what you're aski…