Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Execution error in integration test using Oracle

    I believe I have a solution to this problem that will work in your environment. It involves editing the code in your test project files to explicitly specify the target platform of the output assembly based on whether x64 is supported on the machine executing the build. Basically, you'll need to…

  2. Execution error in integration test using Oracle

    So if I understand this correctly - the team members working with x64 processors all make use of the x64 version of the oracle DLL, where the x86 team members use the x86 version of the DLL. Because the Resharper test runner defaults to the x64 processor architecture under x64 compatible CPUs and x…

  3. Projects won't build

    Interesting.. When renaming the DisposeTestDataAttribute file, did you do so inside the NCrunch workspace? Or in your foreground solution?

  4. Projects won't build

    Thanks for this! I'm taking a look at this issue now. It looks as though the engine has managed to work itself into an invalid state. I've noticed the following exception being thrown before this, and I'm wondering if it may have something to do with the issues appearing later down the line: …

  5. Stalled Engine

    Hi Dan, Database transactions/locks are a common cause of tests hanging - especially under parallel execution. I'm hoping to improve some of the mechanics around the test runner to make these situations easier to analyse and control, with much of what you've suggested already part of the plan fo…

  6. Execution error in integration test using Oracle

    Wow .. this was a nasty one. Nice work for figuring it out. There are certain rules behind how NCrunch handles the CPU architecture for test processes it creates. All test runners have their own rules around this, and there is a lack of standardisation for how the test domain should be built. …

  7. Projects won't build

    Thanks for the bug report. I'm looking into the static analysis issue right now .. though I haven't had any luck in reproducing it yet. I suspect this might be something related to your machine instead of the solution you're working in. If you manage to catch the engine after it fails again, it…

  8. Execution error in integration test using Oracle

    NCrunch doesn't have any code specific to handling database connectivity or Oracle (as it knows nothing about the behaviour of user code), so this is definitely caused by an alignment problem between the NCrunch environment and the normal one. I think the best plan of attack would be to try adjusti…

  9. Debug namespace problem

    Thanks. I'll keep looking into the issue to see if I can find a clear recreation pattern or a way to solve it. Do let me know if you find any more information about what is causing it to happen on your side. Cheers, Remco

  10. Debug namespace problem

    Thanks Simon. Is the issue seriously impacting your work in any way? Or is it just irritating?

  11. Large Solution 146 projects

    I have a feeling that it may be impossible to have an optimal experience with NCrunch on a solution of this size, without selectively disabling large parts of it or making changes to your solution structure. I hope that NCrunch will be able to better support solutions of this size/structure in futu…

  12. Projects won't build

    Hi Dan, Is there any chance you could file a bug report after you receive the resolution problem with the framework utilisation type set to 'UseStaticAnalysis'? I'd really like to take a look at the log file to find out why the resolution logic is going askew here. I'm wondering if I can ask …

  13. Large Solution 146 projects

    Thanks for submitting the bug report. It looks as though NCrunch is throwing OutOfMemoryExceptions when traversing the project relationships within your solution. I've noted this down for review as part of the next minor release, as it's possible there is a resource consumption or performance is…

  14. Execution error in integration test using Oracle

    Hi Dan, This is caused by an alignment problem between your NCrunch test environment and your standard foreground solution. Most likely, you have code that is relying on a pre/post build step to perform configuration manipulation, or you are missing files in the [url=https://www.ncrunch.net/do…

  15. Deploy NCrunch.Framework.dll as a NuGet package

    Hi Wilhelm - Yes, this will be happening soon. Cheers, Remco

  16. Projects won't build

    Hi Dan, Try replacing the xunit.dll file inside your NCrunch installation directory (under Xunit\Latest). I have a feeling this is caused by a version inconsistency with the Xunit used by your solution and specified in the gallioplugin file. NCrunch uses binding redirections to force the test r…

  17. Debug namespace problem

    Hi Simon - The problem you're experiencing is something different. There seems to be a state related issue somewhere within MSBuild where in rare conditions two concurrently running build processes can interfere with one another. It's very inconsistent and as yet I haven't been able to track it…

  18. Large Solution 146 projects

    Hi, thanks for posting and for your interest in NCrunch! NCrunch should support solutions with many projects, although the initial load time may be higher than for smaller projects. If NCrunch gets stuck during initialisation with no visible activity for more than 3 minutes, then most likely t…

  19. Projects won't build

    Hi Dan, Thanks for sharing these issues and for your feedback. The symptoms you've described (with the lack of error reporting) are consistent with an internal problem of some kind. These sorts of issues are becoming rarer and I endeavour to resolve them where ever they can be identified, as th…

  20. Getting build errors after a delay - project builds and runs fine

    Hi Jay - I'm pleasantly surprised that this works ... so much so that I may add it as a feature. Can you show me the code you've injected into the project file? I'd really like to take a closer look. Thanks! Remco