Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Ncrunch stops parralelizing when all tests fail quickly.

    I think I understand why this scenario could cause the problems you've mentioned. The code that runs in collection fixture is probably being executed at analysis time. If it doesn't return a favourable and consistent result, this can affect the list of tests that NCrunch has from the assembly. If…

  2. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    Hi Marcello, We've identified an issue in v4.12 that can cause Nuget packages to be re-transferred when they shouldn't be. Basically, when the grid node goes to write the '_._' files that exist in the Nuget packages, it writes junk into the file instead of leaving it as a zero byte file (this is…

  3. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    Hi Matt, It looks like your system is configured to load packages from an unusual directory: D:\BuildAgent\system\dotnet\.nuget If you copy the packages from your local user over to the above path, does this resolve the issue?

  4. Unable to load component: System.IO.IOException: The path '' could not be processed

    Thanks for the sending through the bug report. It looks like the issue is caused by attempting to open the solution over a UNC path. Could you try mapping a network drive to the remote path and opening it from the mapped drive instead?

  5. Stuck at "ncrunch engine is initialising"

    [quote=arthgg;16150] Same! The upgrade to 4.13 solved it for me but my license is expired so I am on 30 day evaluation until my IT department purchases a license. My company was acquired so will see how IT reacts to the request. I can not live without my NCrunch! Past few days have been so fr…

  6. Ncrunch stops parralelizing when all tests fail quickly.

    Hi, thanks for sharing this. NCrunch actually already should do this (ignore the execution time of the failing test). However, if the tests artificially pass in a shortened time, then it will batch them together and you can end up with this situation. Are you able to reproduce a scenario wher…

  7. Why won't tests run on distributed node?

    Thanks for sharing these extra details. Something that should help here is to turn on the "Required Capabilities" column in the Processing Queue Window (right click the column headers). This will show you which of the tasks have capabilities assigned to them and therefore won't be runnable on th…

  8. Unable to load component: System.IO.IOException: The path '' could not be processed

    [quote=stenjo;16146]Looks like new solutions and projects works fine. Seems to be something with this old one that Im currently looking at. Old .NET 451 with some issues around non-maintained packages. Could be part of the problem.[/quote] Could you submit a bug report after you've had this happ…

  9. Unable to load component: System.IO.IOException: The path '' could not be processed

    Hi, thanks for sharing this issue. It looks to me like there is invalid data (i.e. a null project file path) being fed into the engine. I'm not really sure how it's possible that this can happen. Does it happen on every solution? If you create a new sample project with one of the standard VS…

  10. Why won't tests run on distributed node?

    Hi, thanks for sharing this. Can you try running with the node using a fresh project/solution built from one of the VS project templates? This will help to establish whether the problem is related to the configuration in your solution or whether it's something specific to the node. Also, in t…

  11. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    [quote=meagy;16142]Thank you. I can certainly do that. Are you referring to setting the Log Verbosity somehow on the system for the .NET processes, or for NCrunch itself. We only have the NCrunch console tool installed on the server, no NCrunch GUI ability. Can you provide a link for instructions fo…

  12. STAThread

    Hi, thanks for posting. Can you please check this setting? [url=https://www.ncrunch.net/documentation/reference_project-configuration_ms-test-thread-apartment-state]MS Test thread apartment state[/url]. Given that NCrunch's MSTest runner should default to STAThread, I'm wondering if there migh…

  13. NCrunch Task Failures When Upgrading Projects to .NET Core and .NET Standard

    Hi Matt, Thanks for sharing this issue. Are you able to set your Log Verbosity to Detailed and examine the .NET Core process logs output by NCrunch in the lead-up to the crash? It's possible the report about the missing packages is a red herring and that something else is taking down the proc…

  14. Distributed Node Heuristics

    Hi, thanks for posting. Regarding the long startup times that have been causing issues for you, can you provide any more information on which activities during startup seem to be taking a long time? Broadly, there are 3 different things the engine needs to do before it can run tests: 1. Load th…

  15. Installing 2019 Insufficient Privileges

    Hi Ed, thanks for sharing this. It looks like your system has shut you out from software changes. Unfortunately, there isn't anything an MSI is able to do to work around security that is present on the machine. You'll need to check this past your help desk and/or management within the organisat…

  16. GridNode Net 6 - target "Build" does not exist

    Sorry for the awful experience here. If it feels any better, I understand your pain ... We deal with a multitude of different build systems and platform environments here and the maze of unhelpful error messages doesn't help things. Previously, installing the MSBuild Tools was usually enough for…

  17. GridNode Net 6 - target "Build" does not exist

    Unfortunately, the MSBuild.exe component on its own isn't usually enough, as we need the entire build system full of platform libraries that go with it. MS do have a distribution of MSBuild Tools which is essentially a headless version of VS. I believe it's a free download and is actually repres…

  18. GridNode Net 6 - target "Build" does not exist

    [quote=9swampy;16120]Builds fine on the GridNode using the command lines "dotnet restore && dotnet msbuild" from a local CMD prompt.[/quote] Does the grid server have MSBuild Tools or Visual Studio installed? Unfortunately NCrunch is not integrated with dotnet build and must have MSBuild present…

  19. GridNode Net 6 - target "Build" does not exist

    Hi, thanks for sharing this. Can you confirm whether the grid node is able to build this project without NCrunch involved? (i.e. just using MSBuild tools or VS on the node).

  20. Stuck at "ncrunch engine is initialising"

    A workaround for this problem has been implemented in NCrunch v4.12, which is [url=https://www.ncrunch.net/download]now available for download[/url].