Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Code Coverage percentage report on NCrunch

    This level of integration with the project explorer is difficult, as it would need to consider other VS plugins that may also make changes in this area ... also, anything that involves close integration with VS does tend to take 10x longer. Likely this would need to exist as a separate tool window,…

  2. Compilation error that is showing up in NCrunch but not in VS

    Yes! Nice deduction, that is exactly what is happening. NCrunch is setting the optimize switch to ensure it has debugging information to instrument with. I'd actually forgotten this piece of code existed as it's rather old .. my apologies!

  3. Compilation error that is showing up in NCrunch but not in VS

    You might find that Visual Studio is taking a different build path to MSBuild. Visual Studio has a tenancy to inject certain properties to modify build behaviour, and while I'm sure there are good reasons for this, it does create all kinds of confusion. NCrunch itself is designed to follow norma…

  4. Compilation error that is showing up in NCrunch but not in VS

    Hi Phil, Thanks for posting! Something that you can try doing is running MSBuild against the project as it exists in NCrunch's workspace. If you right-click on your failing build, you'll see an option to browse to the workspace using explorer. This should allow you to find the location on disk …

  5. Coverage Indicator in Code Editor

    Hi Heiko - Thanks for the feedback. I'll see what I can do. Cheers, Remco

  6. NCrunch 1.36b and VB Imports Statement

    Interesting. Thanks for letting me know. I'm sure this is quite a rare case but I'll see what I can do about supporting it in a future revision.

  7. NCrunch 1.36b and VB Imports Statement

    Thanks for sending through the bug report. I'm wondering if you might be able to help me by providing a little more information about the type you are having trouble resolving. Is it referenced directly from a .dll file? Or is it within a project held within your solution? Is there anything t…

  8. Nuget Restore Error

    Hi Anthony, Thanks for posting! My first guess here is that NCrunch is unaware of some of the Nuget dependencies and is therefore neglecting to copy them to the workspace it uses to build your project. NCrunch has a configuration option ([url=https://www.ncrunch.net/documentation/reference_pro…

  9. Submit NCrunch Bug Report issues

    Good to hear! I wonder if this could be a timeout issue. I've adjusted the form so it will no longer be a modal dialog in the next version. Thanks for sending through the bug report.

  10. Problem with MSTest

    Excellent! Thanks for letting me know.

  11. Problem building test assembly in 1.36b

    It's possible that the MSBuild error is because of the build being run out of sequence (which can happen if it's invoked via command line), though I find it strange the MSBuild and NCrunch would return a different result from the same build file, as they are both doing essentially the same thing. D…

  12. CopyReferencedAssembliesToWorkSpace when false still uses workspace and not output folder.

    It often helps to have a browse around the workspace NCrunch has built to see if the file exists in the place you would expect it to. You can do this by right-clicking on a project in the tests window, then choosing to browse to the workspace. If there are files required by your tests that are mis…

  13. Password Boxes On Forums

    Ouch, that's not a good experience. Thanks for letting me know.

  14. Submit NCrunch Bug Report issues

    Hi Steve, Thanks I'll take the modal issue on board. A few people seem to have this problem with the submission tool but as yet I haven't been able to recreate it. Are you running any kind of firewall? Is your Visual Studio instance able to open up connections on port 80? Cheers, Remco

  15. CopyReferencedAssembliesToWorkSpace when false still uses workspace and not output folder.

    Hi Steve, NCrunch moves the files within your project over to a workspace where they can then be built and have their tests executed. In order to copy the files, it needs to know which files to copy. It looks to me like the .xml file you are expecting is not referenced within your .proj file,…

  16. NCrunch 1.36b and VB Imports Statement

    Ok - I have a feeling that this is due to an assembly referencing issue. Would you be able to submit a bug report after you have the build error?

  17. NCrunch run tests all the time

    NCrunch will automatically watch all files that are part of your solution. It then copies them out to a separate workspace, where they are built and the tests held within them are run. The only thing I can think of is if there is a test that is for some reason reaching out of the workspace and b…

  18. NCrunch run tests all the time

    Hi Archie, The only thing I can think of that could cause this is if you have a test that is somehow making changes to files that are being watched by NCrunch. For example, you may have a resource file generated from a test that exists as part of your solution. If you reference this file via …

  19. 1.36b Issue, might be with NuGet

    Hi Rangoric, thanks for posting! This appears to be a defect in NCrunch around its handling of configuration files and binding redirections. I'll ensure a fix for this is released as part of 1.37b (due before the end of the year). Removing the dotless.Core binding redirection in your Unit/Int…

  20. Problem building test assembly in 1.36b

    Hi Andrey, Thanks for sending through the bug report. I've noticed quite a few references to the custom targets file and it looks as though it's going into the workspace, so I think this may be an issue with the build itself rather than the workspacing. When your project fails to build, can y…