Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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…
03 May 2024 23:49 UTC
-
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…
03 May 2024 23:43 UTC
-
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…
03 May 2024 13:52 UTC
-
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…
03 May 2024 12:51 UTC
-
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…
02 May 2024 23:34 UTC
-
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 …
02 May 2024 13:00 UTC
-
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.
02 May 2024 11:29 UTC
-
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 …
01 May 2024 07:42 UTC
-
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…
01 May 2024 00:23 UTC
-
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…
30 Apr 2024 13:03 UTC
-
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…
23 Apr 2024 12:56 UTC
-
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…
22 Apr 2024 12:02 UTC
-
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…
19 Apr 2024 11:29 UTC
-
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.
19 Apr 2024 11:18 UTC
-
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…
19 Apr 2024 11:15 UTC
-
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…
19 Apr 2024 10:59 UTC
-
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 Apr 2024 23:32 UTC
-
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?
18 Apr 2024 23:29 UTC
-
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 …
18 Apr 2024 11:51 UTC
-
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…
17 Apr 2024 23:54 UTC