Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
MSTest DataRow using Enum value doesn't work when parameter type is integer
[quote=VNicholson;17321] Changing it to "UseStaticAnalysis" does also fix the problem for these tests so it seems peculiar to "UseDynamicAnalysis" being enabled.[/quote] Thanks. Usually it's the other way around for these sorts of tests. I'll take a look at see if I can improve on this.
08 May 2024 03:49 UTC
-
MSTest DataRow using Enum value doesn't work when parameter type is integer
Thanks for sharing this issue. Could you confirm how you have your 'Framework Utilisation Type for MSTest' configuration value set? And whether changing it has any affect on the problem?
07 May 2024 23:55 UTC
-
Grid Node Server vs. NuGet Restore
Ok thanks. We need to try and narrow down which element of the toolset is causing the packages to be resolved differently here. Do you have a small sample project that you are able to bring into alignment with the failing projects until it can fail in the same way? Or is the problem too inconsi…
07 May 2024 05:29 UTC
-
Grid Node Server vs. NuGet Restore
Ok, we've now confirmed that the paths are being redirected correctly. This means that the issue is inside the build system on the grid node. Likely, this is being caused by a platform feature. Most suspect here is the central package management .. perhaps that is introducing alternative resolu…
07 May 2024 00:42 UTC
-
Grid Node Server vs. NuGet Restore
Can you check the workspaces directory on the grid node? The snapshot directory on the node likely won't have these files, as we actually write them to disk when we build the workspace and execute MSBuild.
06 May 2024 11:51 UTC
-
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