Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Satellite assemblies from nuget package

    Hi Csaba, I'm glad you found a workaround that allows you to get NCrunch working in this scenario, though I'm not sure what change could be made to NCrunch to handle such a situation automatically. If I understand this situation correctly, the X.Y.Location.resources.dll file is referenced impl…

  2. Console Tool never exits

    Hi Csaba, Thanks for sending through the node logs for this run. I wasn't able to find any data in the log that showed this test finished its execution on the grid node. According to the log, the test execution started at 15:14:45 and the thread never came back. I suspect that something is…

  3. Console Tool never exits

    Thanks for sending through the log. According to the log, the console tool is not terminating the run because there is a task still being processed. This could be one of the following: 1. A test that is taking an extraordinary long time to execute. Although NCrunch does have timeout settin…

  4. "Run all visible tests" != "Run all tests" behavior

    Hi, Yes this makes sense. I'll see what I can do. Thanks for bringing it to my attention.

  5. Satellite assemblies from nuget package

    Hi Csaba, This specific problem is called an 'assembly co-location assumption'. Basically, your code is relying on referenced assemblies being co-located with other assemblies. NCrunch's build optimisations normally prevent this from happening because such an arrangement requires entire depende…

  6. csc.exe -2146232797 NullReferenceException since 2.23

    Hi, thanks for sharing this problem. I appreciate the difficulty of narrowing this down, you've done very well here. I can confirm that I can reproduce the problem exactly as described. It looks like an instrumentation issue. I'll see what I can do about getting it fixed in the next release. …

  7. Unable to find a usable version of MSBuild on this machine

    Hi, thanks for sharing this issue. When NCrunch searches for MSBuild under VS2013, it looks for the following assembly in your GAC: Microsoft.Build, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL If the assembly cannot be found, NCrunch will t…

  8. Console Tool never exits

    [quote=CsabaFabian;9295]Remco, I wouldn't post the log file publicly but I would be happy enough to send it to you privately, if you would like that?[/quote] That would really be great. The log file from the grid node that has hung would also be really useful if you're able to dig it up. You ca…

  9. Console Tool never exits

    It's possible that this is then actually an error handling problem on the node itself. If a node picked up some work from the client, then bugged out and failed to 'return' the work in any kind of state, the client would wait forever and the node would just sit in its failed state. Do you have a…

  10. Unable to cast object of type 'STATestCase' to type 'Xunit.Sdk.XunitTestCase'.

    Hi, thanks for sharing this problem. This change has recently been requested and it seems to be getting quite popular (see [url=https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/16474246-to-support-custom-xunit-test-cases]https://ncrunch.uservoice.com/forums/245203-feature-…

  11. How to fill TestSelectorExpression for ncrunch console?

    Hi, thanks for posting! At the moment, this isn't possible. Only simple scalar parameters can be passed into the test run via the command line. If there are certain tests you wish to ignore during a console test run, the best way to handle this is to create a custom engine mode that chooses onl…

  12. Console Tool never exits

    This is a good catch and I can see how this would happen. When a client has work in the queue that it thinks can be processed by a grid node but the grid node is not working properly, the client will wait until the grid node becomes available and executes the work before it considers the run to be …

  13. Problems with Microsoft.TextTemplating.targets

    Hi, thanks for posting! This particular build targets takes a range of properties as input, including what appears to be lists of assembly references. I don't think it was designed with NCrunch's workspacing in mind; possibly it assumes that referenced assemblies are co-located with the project …

  14. Build assemblies not optimiezed

    [quote=SeriousM;9277] @ramdisk: it's already 4 gb, that should be enough for 4 running threads, right?[/quote] It really depends upon the solution. NCrunch can make several workspaces for each project in your solution, depending on your change patterns and the number of workspaces needed in p…

  15. Build assemblies not optimiezed

    If the code coverage is working correctly, then this is probably related to the debugger (or PDB data) rather than optimisations. Is there a pattern around which values can be evaluated when you are in a debug session? Does the debug session correctly stop at breakpoints? Regarding the RAM disk…

  16. Build assemblies not optimiezed

    Hi, thanks for posting! NCrunch deliberately turns optimisations off when it builds your project, as the optimisations prevent it from accurately instrumenting the output assembly. It's possible there may be another reason why your debug evaluations are not working. Are you seeing code cove…

  17. Console Tool never exits

    Let's see what the log file can tell us! Try: NCrunch.exe -LogVerbosity Detailed > MyLog.txt The log file will be very big, but the tail end of it could be very revealing. Look out for log messages at the end of the log related to 'EngineWorkCompletionMonitor'. This is a component respon…

  18. Console Tool never exits

    Hi, thanks for sharing this issue. Does this happen with every execution run? Are you using distributed processing?

  19. Starting VS2015 in Safe Mode shows strange error in NCrunch window

    Hi, thanks for sharing this issue. Under safe mode, VS likely isn't fully initialising the NCrunch package. However, it looks like VS is still loading the solution.user file which contains the various tool window layouts. So what we have here is a tool window that has been left open belonging…

  20. Typemock Isolater Disabled

    I've heard back from the TypeMock developers. I'll post the details below: [i]We fixed the integration, but it’ll be available in our next release. For your user you can advise add following lines in the knowRunners.dat from the Typemock installation folder: - "nCrunch.EngineHost462.x64" - …