Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch3.7 .Net Core error

    Thanks for the extra details. This has me quite confused, as the load/build operation of the console tool is identical to that of the VS addin. The only real differences between them are in the synchronisation system. I wonder if this might be related to user accounts. Does the console tool ru…

  2. NCrunch3.7 .Net Core error

    Thanks! A couple of things that will help to narrow this down, considering that the solution works when you use it in VS on your dev machine ... - Can you check whether running the console tool against the working copy on your dev machine performs as expected, or whether this gives the same erro…

  3. NCrunch3.7 .Net Core error

    Hi, thanks for sharing this issue. The '_SplitProjectReferencesByFileExistence' error usually appears when MSBuild fails to resolve the targets imported by the project. Because this is a .NET Core project, the imports tend to be behind the scenes rather than listed in the file itself. Does th…

  4. test runner processes recreated multiple times give poor performance

    Thanks Johan. I think I've figured this issue out. If you right click on a test in the Tests Window and go to the 'Advanced' submenu, you'll see a couple of options here; one to run the tests using a new process, one to run the tests using an existing process. If you just hit the 'Run' option o…

  5. Windows 10 compatibility

    Thanks for clarifying, this makes sense to me now. Given the release date of Windows 10, versions of NCrunch from v2.16 onwards should in theory work with this O/S. However, Windows 10 is an ever-evolving O/S, and Microsoft have been pushing regular updates since its first release. This makes…

  6. test runner processes recreated multiple times give poor performance

    Thanks Johan. Is there any chance you could submit a bug report (using the NCrunch menu) right after you've finished a test run with the 'Max number of processing threads' set to 1? The log may yield some interesting information about why this is happening.

  7. test runner processes recreated multiple times give poor performance

    Hi Johan, NCrunch will still call AssemblyInitialize for each batch of tests even if it re-uses the task runner. A tidy way to de-duplicate this is to just use a static boolean to make sure you execute the code in this method only once per process. If you set the 'Max number of processing thr…

  8. Windows 10 compatibility

    Hi, Thanks for getting in touch. I'm sorry but I don't completely understand your question. NCrunch has no affiliation with Pinnacle Systems. The software versions you have listed above are all old and obsolete versions of the software. Any licenses that use these versions of the software…

  9. test runner processes recreated multiple times give poor performance

    Hi Johan, NCrunch will re-use test runner processes whenever they are available, but there are a number of configuration options that can affect the way that this happens. Basically, NCrunch has a pool of processes that it retains between test runs. If a task in the processing queue (containi…

  10. V3 support for [DataRow] in MSTest V2 is not working

    Hi, Thanks for sharing this problem. This looks to be a problem related to the boolean parameter. Whenever I create a DataRow test using a boolean, I see the same exception. I'll see if I can get a fix included for this in the 3.7 release out next week. Thanks again for bringing it to my …

  11. Startup Error in Studio 2017

    [quote=dpc640;10329]Thanks! It was step 5 that I didn't know about.[/quote] I'm glad that did the trick! :)

  12. Startup Error in Studio 2017

    Hi Patrick, Thanks for sharing this issue. Your VS install is in a corrupted state. Try the following: 1. Make sure your IDE is closed 2. Uninstall NCrunch via Windows Programs/Features 3. Go to the NCrunch install directory (usually C:\Program Files (x86)\Microsoft Visual Studio\2017\En…

  13. "Could not load file or assembly" with BindingRedirect

    [quote=tkarlsen;10325] I just spent some time trying to reproduce it in a new project without much success. Everything seems to work even with the BindingRedirects in a fresh solution with the same basic layout. I'll have to do some more experimentation to see what's going on. The tests that are fa…

  14. "Could not load file or assembly" with BindingRedirect

    [quote=tkarlsen;10322] I'll see if I can try to create a simple solution demonstrating the problem tomorrow.[/quote] Thanks for doing this. Having looked as much as I can at this issue, I don't think I'll be able to progress with it further without a code sample.

  15. "Could not load file or assembly" with BindingRedirect

    [quote=tkarlsen;10320] You can create an ASP.NET Core project but still target the full .NET framework, and the reason I'm doing that is because I have some dependencies on third party libraries that target the full framework. Here's an explanation of how (and why) to do it: [url=https://jonhi…

  16. "Could not load file or assembly" with BindingRedirect

    Hi, thanks for sharing this problem. I'm a little confused by this, as I was always under the impression that .NET Core and .NET 4.6.2 were mutually exclusive (hence why .NET Standard exists). How is it that you've managed to build this structure? Is there a reason you're not using multi-target…

  17. Override [ExlusivelyUses] for specific test?

    Hi, From what I can remember, NCrunch will always aggregate the ExclusivelyUses attribute values down through the inheritance structure. This means that once it's been declared on a base class, there isn't any way to then undeclare it on a descendant. Sorry, I can't think of any workaround here…

  18. Assembly initialize/cleanup failed: System.ArgumentException TestContext_proxy

    Thanks for sending through the sample solution. This problem was quite complex and I doubt I could have figured it out without the code sample. Your test project is referencing two different versions of MSTest. The test project directly references MSTest 2017 (Microsoft.VisualStudio.TestPlatfor…

  19. NCrunch 3.6 Supported framework?

    Hi, This is a known issue in v3.6 It is not correctly detecting .NET 4.6.2 and is trying to use this framework to host the engine when it isn't actually installed. You can either install .NET 4.6.2 or use the build of NCrunch below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4…

  20. "Show Ignored Tests" issue

    [quote=agiro;10309]Turning the filter on/off doesn't make any difference but the issue is related to pinned tests. Basically if a test is "pinned" it ignores the filter. Unpinning the tests it works perfectly. Thanks! [/quote] Got it, thanks! This is by design. When a test is 'pinned', it …