Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
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…
13 May 2022 00:15 UTC
-
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…
12 May 2022 13:57 UTC
-
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…
12 May 2022 08:08 UTC
-
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).
11 May 2022 22:51 UTC
-
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].
11 May 2022 12:41 UTC
-
Stuck at "ncrunch engine is initialising"
[quote=UppSol;16110] Now that 17.2 RTM(https://devblogs.microsoft.com/visualstudio/visual-studio-2022-17-2-is-now-available/) has been released, will NCrunch support the new/preview feature that caused trouble in the preview version? I haven't got time to check if it works or not. [/quote] Yes…
10 May 2022 23:57 UTC
-
Json FileNotFoundException preventing build
Thanks for this. Could you submit a bug report from NCrunch straight after the error appears? I'd like to take a look at the log to see if it yields any clues about why this is happening. Could you also try the [url=https://www.ncrunch.net/documentation/reference_project-configuration_preload-a…
25 Apr 2022 00:09 UTC
-
Json FileNotFoundException preventing build
Thanks for these extra details. I can't see the top of the stack trace here, but my guess is that this is happening during test discovery, rather than build time. There is code running inside an attribute constructor that is causing massive complicated layers of other code to run. Can you try…
24 Apr 2022 00:27 UTC
-
Json FileNotFoundException preventing build
Hi, thanks for sharing this issue. Can you share any more information about where you receive this error? Does this appear on one of your projects? Is there any more to the stack trace?
23 Apr 2022 12:45 UTC
-
Trying to Run All Tests; Icons are Changed
Hi, thanks for sharing this. I strongly suspect that the code being run by these tests is modifying something in your foreground solution. Most probably there is an absolute file path somewhere. The consequence of this is that running the test causes the codebase (or a related resource) to chan…
22 Apr 2022 00:46 UTC
-
Coverage Markers not working
Something else worth checking is your engine mode. The 'Run pinned tests automatically' mode can have a coverage filter set up (the 'Show coverage for tests' setting).
21 Apr 2022 12:57 UTC
-
Coverage Markers not working
Hi, thanks for sharing this issue. Have you checked the [url=https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage]troubleshooting page for this problem[/url]? There are a range of configuration issues that can cause this. Note that when you run a test with a debugger at…
21 Apr 2022 12:19 UTC
-
InvalidOperationException with init properties (.net6)
[quote=spectresystems;16085]I'm also experiencing this but cannot recreate it. I'm running NCrunch 4.11.0.2 in VS2022 (17.1.5) using .NET SDK 6.0.104. Using .NET SDK 6.0.202 makes no difference.[/quote] Thanks for sharing this. Could you confirm if you're using the System.Runtime.CompilerSer…
20 Apr 2022 12:22 UTC
-
Code coverage not appearing (newbie question)
[quote=CoolBreeze;16079] I was seeing code coverage markers in one of my VB code files. Then I added ncrunch: no coverage start, no coverage end to some but not all methods. Then NCrunch didn't show any markers for the entire file. I closed and reopened the solution. The markers reappeared. [/…
16 Apr 2022 00:00 UTC
-
asp.net rest api .net 6, code coverage for Program.cs?
Hi, thanks for posting. When the [url=https://www.ncrunch.net/documentation/reference_project-configuration_analyse-line-execution-times]analyse line execution times[/url] setting is enabled (which is on by default), NCrunch marks a line as covered [i]after[/i] it is executed. This means that if…
14 Apr 2022 00:03 UTC
-
Unused engine hosts?
Hi, thanks for posting. Like with TestHost and BuildHost, we have a version of EngineHost for every major version of .NET Framework. Because we need to support older versions of VS, the NCrunch engine is locked to .NET 4.0 (Actually, .NET 3.5 for most places). As such, we can run in a pretty wi…
13 Apr 2022 00:27 UTC
-
Tests permanently show as "running (first time run)"
[quote=NeilMacMullen;16068]Thanks. Yes I think the most serious "issue" here is really just that the main Ncrunch icon color made it appear that all the tests were still running and passing; hence it was a couple of months before I noticed the problem (I usually filter to only failed tests in the t…
08 Apr 2022 11:40 UTC
-
Tests permanently show as "running (first time run)"
[quote=NeilMacMullen;16066]Looks like switching UseCpuArchitecture to x86 (from x64) clearing caches and and reloading ncrunch resolves the issue. :-)[/quote] Excellent :) We have a fix pending for the processing queue text pane sync issue. It doesn't update correctly when the task has no out…
07 Apr 2022 23:03 UTC
-
Tests permanently show as "running (first time run)"
Thanks for these extra details. I wonder if this is a UI refresh issue. Do the tests clear from the Tests Window if you turn one of the filter options on and off? Are you able to run the tests with a debugger attached? Note that although the tests may work fine with a different runner, this …
06 Apr 2022 23:19 UTC
-
Tests permanently show as "running (first time run)"
Hi, thanks for sharing this. Can I safely assume that the tests stay this way forever (i.e. they never time out, even if left for 15+ minutes)? Can you check the processing queue to see if the tasks involved have kicked up any errors? One possibility I can think of is if the unmanaged code …
06 Apr 2022 12:58 UTC