Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. BadImageFormatException

    Hi, This is because NCrunch v3.11 was released prior to MS releasing .NET 4.7.1, which has only been out for a few weeks now. There's a dev build of NCrunch below that includes a task runner for .NET 4.7.1 if you need this prior to the v3.12 release: [url=http://downloads.ncrunch.net/NCrunc…

  2. Parallel execution and integration tests

    [quote=sunny;11479]Thanks, One "processing thread/worker" executes the tests in the a "test task/group" in sequence. Parallelism is achieved by multiple "processing threads". [/quote] Correct. [quote=sunny;11479] If there is a test fixture with 10 tests in it, and the setup of the fixture s…

  3. NCRunch console: Multiple assemblies with equivalent identity have been imported

    [quote=GreenMoose;11476] *Edit: Well it does reference nuget packages, I can look into those tomorrow and see if that might be the cause of it.[/quote] I'm thinking there is a good chance that there is inconsistent versioning of this binary between the Nuget packages being referenced (the new DL…

  4. Parallel execution and integration tests

    Hi, thanks for posting. The easiest way to understand this is to take a look at the Processing Queue Window when you have NCrunch running inside Visual Studio. Inside this window, you'll see a list of test tasks that are being executed more or less in sequence by the engine, with some degree o…

  5. NetStandard2.0 csproj referencing NUnit without tests

    Hi, thanks for sharing this issue. Because NCrunch's interaction with tests is indirect (through the framework), it needs to interrogate the framework before it can be sure that there are no tests in the project. It identifies the candidate for a test framework through its build dependency on NU…

  6. NCRunch console: Multiple assemblies with equivalent identity have been imported

    Hi, thanks for sharing this problem. What I find particularly interesting about this problem is that it's happening during build of the project. NCrunch doesn't really do much manipulation of dependencies during the build of .NET Core projects, most of this is handled downstream in the runtime e…

  7. Debuging a test - watch issue

    Thanks for sharing these extra details. The debugger itself is unfortunately a bit of a black box (unless you work within MS). The difference in behaviour is likely to be related to the structure of the PDB file, which NCrunch needs to reconstruct when it instruments the assembly. To troubles…

  8. Debuging a test - watch issue

    Hi, Thanks for sharing this problem. Do you have any variables showing up in the locals for your debugger? Are you able to inspect method parameter values or class members/fields? Do you experience this problem on a small sample solution?

  9. Building Large Source Trees Spanning Solutions

    I'm glad to hear you found the problem and were able to resolve it. This particular expression (GetDirectoryNameOfFileAbove) is a frightfully complex thing for NCrunch to handle because of the sequence of evaluation in MSBuild. It's not a surprise to me that this expression has interfered with res…

  10. DataTestMethod with Enumerators fail in NCrunch

    Can you confirm whether you set your framework utilisation type for MSTest to DynamicAnalysis? As described earlier, it just wasn't feasible to support all use cases of the DataRow under StaticAnalysis.

  11. DataTestMethod with Enumerators fail in NCrunch

    I recommend installing via the MSI rather than the ZIP, if possible. My first guess would be that the O/S is blocking NCrunch from running its task runners. If you need to install the ZIP, check that the files aren't being blocked. See here for specifics: [url=http://www.ncrunch.net/documentati…

  12. DataTestMethod with Enumerators fail in NCrunch

    Hi, Sorry about this. There's been quite a bit of slippage in the v3.12 scope because of a sudden and rather gigantic issue around PDB support in .NET Core. Here's an early build for you: [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.4.msi]http://downloads.ncrunch.net/NCrunch_Cons…

  13. Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu

    After you build your project (just using VS), can you check whether there is a xunit.runner.utility.netstandard15.dll file in your build output directory? This file should be copied there by an xunit build step. If its not there, then there is something wrong with your xunit installation. Removin…

  14. Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu

    There must be a nuget package dependency from one of your projects to xunit.runner.utility. This is how it's landing in the .deps file. Make sure you remove all nuget dependencies on this library.

  15. xunit.runner.utility v2.2.0 "Unable to restore required Nuget packages..."

    NCrunch has its own internal list of Nuget packages that are required for operation under .NET Core. Because it's to be expected that a machine may not have all these required packages installed, NCrunch will automatically try to restore them if it detects .NET Core projects are being loaded. At t…

  16. Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu

    Hi, thanks for sharing this problem. Is there anything in your solution that includes anywhere a reference to xunit.runner.utility? NCrunch packages this binary with its own Xunit integration module. You can find the file that NCrunch should be loading at C:\Program Files (x86)\Microsoft Visual…

  17. All tests failed due to unexpected error

    Hi Alex, Thanks for sending through the sample solution. The problem is being caused by a call to Debug.Fail in the destructor of XmlFileInfoDocument. As I understand it, destructors are called when the GC physically removes objects from the heap. This code being in a destructor essentiall…

  18. Async build and build in general is a lot slower on VS 2017 Preview 4

    [quote=abelb;11442] All in all an excellent result and it makes it much more pleasant to work with NCrunch and such large projects. However, I think performance for large scale projects should remain a focus point (if you can give it the priority and time it needs of course). [/quote] Great to …

  19. All tests failed due to unexpected error

    Thanks Alex. I'll take a look and will get back to you soon.

  20. _SplitProjectReferencesByFileExistence

    Hi, thanks for posting. Generally, when I've seen this problem, it's because MSBuild wasn't able to resolve the .targets files that were necessary to build the project. The solution to this will depend on how your build system is structured. Somewhere in the project (or in its related imports) …