Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch Console running all tests in sln when given a child csproj arg

    [quote=Grendil;11046] What is the easiest way to have the command line target just one project itself and not its dependent brethren? We're trying to set up a build server to run separate jobs for different test projects, even if they have some mudball relations between them.[/quote] In terms o…

  2. NCrunch, Core 1.0.1 and BadImageFormatException

    Thanks, this looks like a whole new problem. I'll let you know when I've found a solution.

  3. Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0

    I don't seem to be seeing the same thing as you are for these scenarios, so probably this problem is related to your system installstate or environment. Could you check which versions of the System.Threading.Thread library you have installed in your user's Nuget package storage directory? (i.e. C:\…

  4. NCrunch Console running all tests in sln when given a child csproj arg

    NCrunch itself doesn't contain any logic to automatically find and load a parent solution for a targeted project. When you run the console tool against a .proj file, NCrunch will create a virtual solution internally using default settings and will load the targeted project into memory, along with a…

  5. Could not load file or assembly 'System.Runtime, Version=4.1.1.0...'

    Can you confirm whether the grid nodes are able to run tests when using NCrunch as a VS package? My feeling is that this is either a missing dependency on the grid node that isn't being properly handled, or its dependency data that isn't translating to the grid node properly.

  6. Console Tool TestFilter Issues

    I've just tried this with v3.11.0.5 (which should be the same as 3.10 in this area) using the following command: ..\consoletest\ncrunch.exe classlibrary1.sln -TestsToExecuteAutomatically "(DoesNotHaveCategory 'Integration' AND DoesNotHaveCategory 'Smoke')" And it seemed to work OK. I'm not su…

  7. Even the simplest .NET Core project fails to build under NCrunch

    [quote=GreenMoose;11029] Can I somehow generate a log with the console tool?[/quote] Absolutely. Just set "-LogVerbosity Detailed" on the command line, and use the standard pipe to push the output to file, i.e. ncrunch.exe mysolution.sln -LogVerbosity Detailed > mylog.txt The log should c…

  8. C# 7.1 project won't build in NCrunch

    Hi, thanks for sharing this problem. Is this something you can reproduce with a sample project that you can share with me?

  9. Could not load file or assembly 'System.Runtime, Version=4.1.1.0...'

    Hi, Could you try the build below to see if this resolves the problem for you? [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.5.msi]http://downloads.ncrunch.net/NCrunch_Console_3.11.0.5.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.5.zip]http://downloads.ncrunch…

  10. Even the simplest .NET Core project fails to build under NCrunch

    A fix for the 'missing .NET Core' error is in the build below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.5.msi]http://downloads.ncrunch.net/NCrunch_Console_3.11.0.5.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.5.zip]http://downloads.ncrunch.net/NCrunch_Consol…

  11. .NET Core 2.0 support

    See here for an early build with fixes for the recent .NET Core 2.0 release - [url=http://forum.ncrunch.net/yaf_postst2234_Unable-to-run-tests-with--NET-Core-2-0-referencing--NET-Standard-2-0.aspx]http://forum.ncrunch.net/yaf_postst2234_Unable-to-run-tests-with--NET-Core-2-0-referencing--NET-Standar…

  12. Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0

    Thanks for sending through the log. This contained an interesting exception: System.Exception: Could not resolve assembly: System.Threading.Thread, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aSystem.IO.FileNotFoundException: Could not load file or assembly 'System.Threading.…

  13. Impacted tests are not always marked impacted and therefore not run

    [quote=abelb;11013] [*]Change in the code of a used attribute, directly or indirectly, does not always (never?) trigger an Impact [/quote] Impact detection doesn't currently work over attributes, because these are universally accessed using reflection, which is isn't possible to track using NCr…

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

    I'm glad to hear that this has improved for you, but what you're describing is still not normal behaviour unless you're making use of the 'Copy referenced assemblies to workspace' setting, which you should do your best to avoid if performance is important to you. Something that might be worth try…

  15. Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0

    [quote=sextondjc;11010]Still seem to be having a problem, unfortunately. Tried setting logging level to verbose but still only get the message below. This comes from Visual Studio 2017 Community version 15.3.1 using NCrunch 3.11.0.5 linked to above. An error occurred while analysing this project…

  16. String parameter causes "This project contains multiple NUnit tests that share the same name."

    Hi, This is, unfortunately, a problem in NUnit itself. NUnit truncates the test parameters after a certain limit, making the entire parameter become inaccessible to test runners like NCrunch. You'll need to raise this with the NUnit team - [url=https://github.com/nunit/nunit]https://github.…

  17. Building precompiled C# Azure Function fails

    Hi, thanks for sharing this problem. Unfortunately, Azure based projects are [url=https://www.ncrunch.net/support/frameworks]not supported by NCrunch[/url]. For this reason there has been no QA performed on azure projects, or features implemented in the engine to get these to build or run tests.…

  18. duplicate source code transmission to node servers

    [quote=Grendil;10856]We're looking into setting up an NCrunch node farm, and we're wondering about network traffic load. Most developers will be working on the same large code base. Only about 10% of that code will be mutating at any one time. Does NCrunch do anything clever to avoid transmitting…

  19. Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0

    I've prepared a new build with a fix for the above netstandard.dll problem. This build also has a couple of fixes around .NET Core usage on grid nodes. [url=http://downloads.ncrunch.net/NCrunch_Console_3.11.0.5.msi]http://downloads.ncrunch.net/NCrunch_Console_3.11.0.5.msi[/url] [url=http://down…

  20. vs2015 crash (NCrunch...ClipboardHelper)

    I haven't seen this one before. Did you notice any knock-on effects from this? Or did it just show up in the log?