Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Grid Node Server vs. NuGet Restore

    Thanks. Ok, the next step then will be examining the files on the grid node to see what's happening there. Opening up the workspaces on the grid node is a little bit trickier than on the client. It's possible to do it over a network share with the correct configuration, but if you're able to pr…

  2. Ncrunch Console Tool inquiry

    Hi, thanks for posting. This is unfortunately not an easy question to answer, as we had some level of forwards compatibility for .net8 even before it was released, but it may have been unreliable. I would say anything from v4.19 onwards should be quite solid, obviously the newest version conta…

  3. Grid Node Server vs. NuGet Restore

    [quote=GlobalConcepts;17306]How would I do so? Aren't those files getting generated on each project change?[/quote] Sorry, perhaps I misunderstood. The last batch of XML looked like it was from a raw .csproj file ... did it come from somewhere else? Edit: It would be great if you could qualif…

  4. Grid Node Server vs. NuGet Restore

    This is brilliant. Thanks for providing this! I think the problem is being caused by the SourceRoots being specified in your project files. Can you make these conditional on NCrunch not being present? Like so: <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' and '$(NCrun…

  5. Grid Node Server vs. NuGet Restore

    Can you do the following for me? - Open up NCrunch on your local machine, open your solution - Disconnect from all grid nodes using the Distributed Processing Window - Wait for your projects to build locally - Right click on one of these projects (ideally one of the ones that fails on the node…

  6. Grid Node Server vs. NuGet Restore

    Can you confirm whether G:\NGN\Snap is the correct user profile directory on the grid node? If it is, this would suggest a problem where the build system on the node is not using the correct path when trying to resolve packages. If not, this would suggest the problem may be that the files are …

  7. Grid Node Server vs. NuGet Restore

    Can you identify a package that is being copied incorrectly and cross check this package with the files that are stored on the client? We need to know where the package is being copied from and why it is missing files.

  8. Grid Node Server vs. NuGet Restore

    The package files stored on the grid nodes are basically just xcopied over from the client. Here's what happens: 1. When the grid node service starts, it scans the contents of the Nuget package directory on the grid node and stores a representation of this in memory (which is why it's important …

  9. Grid Node Server vs. NuGet Restore

    Just to confirm my understanding, you've removed the package directory entirely from the grid node and restarted it, then connected the client, and the files that were re-copied to the node were incorrect? If so, then we need to find out why. Can you search the connected client for installed ins…

  10. Grid Node Server vs. NuGet Restore

    Hi, thanks for sharing this issue. NCrunch actually doesn't restore Nuget packages on grid nodes. Instead, it copies them over from connected clients. This allows grid nodes to function without an open internet connection (necessary in some secure environments). From what you've described, i…

  11. Ncrunch 5 Task Capacity Defect

    Hi, thanks for posting. Disabling parallel execution should prevent tests being run at the same time by NCrunch on a single system. This means you can still end up with parallel execution if you're using a grid (for example, you might have one test running on your local machine, while another te…

  12. NCrunch installation on VS2022 not picked up by VS2022 Preview

    Hi, thanks for sharing this issue. We've just tested this on the new preview build and it seems to be working on our end. I think this is an install state issue. Could you try the removal and reinstall fix described [url=https://www.ncrunch.net/documentation/troubleshooting_installation-and-set…

  13. Path too long

    Hi, thanks for sharing this issue. There are three situations where you can see this error: 1. When the path is too long, and the registry setting has not been set 2. When the path is too long, and the registry setting is set, but the .NET platform is still kicking up a PathTooLongException whe…

  14. Tests not showing on 4.7.2 test projects

    Thanks. I definitely recommend trying to whittle this down to simplify it. We definitely should work in this situation and we have many tests that cover this kind of scenario. Perhaps start by making sure you can build a .net 472 test project that NCrunch will run tests from.

  15. Source Generator Files with debugger

    Thanks for sharing the codebase. This really helps with understanding what is happening here. Because the generated source files aren't actually a part of the solution, NCrunch has no representation for them inside the runtime environment. This means that these files can't be instrumented and t…

  16. Tests not showing on 4.7.2 test projects

    Hi, thanks for sharing this issue. Can you confirm that you can see the .net 472 test project in the Tests Window and that it's showing having built successfully? Check the NCrunch configuration between the projects to make sure you don't have any differences in settings between net472 and net…

  17. Ncrunch cannot build my project

    Hi, thanks for sharing this issue. This looks to be an IL sequence that we aren't handling right. Are you able to isolate this problem in a code sample that you can share with me? If I can reproduce the sequence on my side, I should hopefully be able to get you a prompt fix. It may be possib…

  18. NCrunch V5 not working for F# projects in Rider

    If you set the 'Build Sdk' property to point to VS2022 instead of a version of the .NET SDK, does the problem go away?

  19. Unable to download msi installer due to certificate verification failed

    Thanks for confirming the problem. I hate getting flagged up like this, as we're utterly helpless to do anything about it. It's interesting that it happens on your end and not mine (even though I have smartscreen on, and it frequently flags things). It makes me wonder if the system has a sense …

  20. NCrunch V5 not working for F# projects in Rider

    Hi, thanks for posting. It looks like the .NET SDK that you're using is somehow missing the fsharp compiler. Can you check through your SDK installations at C:\Program Files\dotnet\sdk to find the latest one that includes fsc.exe? You can then use this with NCrunch by setting the [url=https://w…