Forum member
MatthewSteeples
147 posts
Posts by MatthewSteeples
-
ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.
Forgot to come back to this, but have installed the latest released version and it looks fine here. Thanks
05 May 2025 13:07 UTC
-
ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.
5.14.0.3 doesn't fix our project or our repro issue. In order to use the comment we have to disable coverage on every pathway throughout the tests and code. It's not enough to just apply it to where the problem happens.
22 Apr 2025 14:00 UTC
-
ImmutableHashSet static field causes 'Value does not fall within the expected range' exception.
Just updated to NCrunch 5.13.0.4 and have an issue that looked related to this (instead of creating a new thread). Following code works in VS for testing but causes an exception in NCrunch [code=csharp] using System.Collections.Immutable; namespace NCrunchAsyncRepro { public class Immut…
20 Apr 2025 21:14 UTC
-
Test coverage dots show wrong tests
Completely forgot about this issue until we got burned by it again this week. See below for a Repro based in MSTest [code=csharp] [TestClass] public sealed class Test1 { [TestMethod] [ExpectedException(typeof(Exception), AllowDerivedTypes = false)] public a…
14 Feb 2025 17:27 UTC
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error
Came across this error today (in case anyone else finds this useful). In addition to the [url=https://www.ncrunch.net/documentation/troubleshooting_process-terminated-unexpected-error]help docs[/url], it's advisable to check the [url=https://learn.microsoft.com/en-us/sql/relational-databases/perf…
02 Feb 2025 23:18 UTC
-
Unable to build apps with "older" Windows SDK
[quote=Remco;17770]Would you be interested in trying the build below to see if this solves the problem for you?[/quote] Looks to work great, thanks
25 Nov 2024 12:00 UTC
-
Unable to build apps with "older" Windows SDK
Also, it appears the x86/x64 was a red herring. The repro I've provided is AnyCPU
24 Nov 2024 23:44 UTC
-
Unable to build apps with "older" Windows SDK
So the reason my sample project built is that it had no tests in it. Looks like the problem isn't with the building, but with the environment for executing of tests. On the plus side, this means I can give you a super minimal repro. The relevant lines in the logs appears to be the following [c…
24 Nov 2024 23:42 UTC
-
Unable to build apps with "older" Windows SDK
runtimeconfig.json file is identical across all 4 locations * Test project bin folder * NCrunch workspace for test project * Regular project bin folder * Regular project NCrunch workspace [code=jscript]{ "runtimeOptions": { "tfm": "net8.0", "framework": { "name": "Micros…
21 Nov 2024 23:56 UTC
-
Unable to build apps with "older" Windows SDK
[quote=Remco;17750]Can you confirm whether you are able to build a .NET 10.0.17763.54 x64 console project .DLL and run this on your machine using dotnet.exe?[/quote] Hmm, both dotnet _and_ NCrunch successfully build a console project targeting net8.0-windows10.0.17763.0 so there must be something…
21 Nov 2024 23:15 UTC
-
Unable to build apps with "older" Windows SDK
Will do shortly. I've just found the binlogs that NCrunch output (they were in the project folder rather than the workspace folder which is why I'd missed them initially) so I'm just having a skim through to see if there's anything leaping out
21 Nov 2024 23:00 UTC
-
Unable to build apps with "older" Windows SDK
I'll lay out what I've tested and experienced and see if that answers any of your questions: * Project built fine in VS 17.11 and NCrunch with the Windows SDK installed through VS * VS 17.12 installed, project no longer builds in VS or NCrunch (because SDK is not present) * Windows SDK installe…
21 Nov 2024 22:55 UTC
-
Unable to build apps with "older" Windows SDK
Project built fine in NCrunch with VS 17.11 17.12 removed version 17763 of the Windows SDK by default but as we're still targeting it we've downloaded it from [url=https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/]Microsoft[/url] and installed it. Visual Studio picks it up fine…
20 Nov 2024 11:17 UTC
-
NCrunch.Framework dependencies
Also, you can fix the copyright statement in the assembly too :) [code=csharp][assembly: AssemblyCopyright("© 2010-[#COPYRIGHTYEAR#] Remco Software Ltd")][/code]
12 Nov 2024 22:23 UTC
-
NCrunch.Framework dependencies
Hi, Would it be possible to refresh the dependency versions required for NCrunch.Framework at some point? It brings in quite a few transitive dependencies (through [url=https://www.nuget.org/packages/NETStandard.Library/]NETStandard.Library[/url]) that cause a lot of warnings at build time and wi…
12 Nov 2024 22:18 UTC
-
RdiConfigured key in config
Thanks for that. I haven't thought this through thoroughly, but it may make more sense for these to be user-level config values rather than shared ones by default. Main reason I'm suggesting that is you end up with a case where RDI is enabled for a project (by someone else) so you don't get prompted…
08 May 2024 12:58 UTC
-
RdiConfigured key in config
Apologies if this is in the docs somewhere. I've looked but I can't find it. In our ncrunchsolution file that's checked in to source control there is a key labelled RdiConfigured. This is separate to the [url=https://www.ncrunch.net/documentation/reference_project-configuration_enable-rdi]EnableR…
08 May 2024 09:52 UTC
-
RDI fails to run tests involving ImmutableArray
We're getting the same middle exception (not being present in the Dictionary) but ours is around an "await foreach" rather than an ImmutableArray [code=plain]System.AggregateException: One or more errors occurred. (The given key 'Ledgerscope.Utilities.Helpers.EnumerableHelper+<AsCollectionAsync>d…
05 Mar 2024 17:53 UTC
-
version 1.17.0 of Microsoft.Azure.Functions.Worker.Sdk makes ncrunch look for .net6
Fails to build here with NCrunch 5.1 and Microsoft.Azure.Functions.Worker.Sdk 1.17.2. It builds fine if I drop the version of the Functions SDK to 1.16.4 [code=plain]C:\Users\MatthewSteeples\AppData\Local\Temp\tdmo5dii.0kt\WorkerExtensions.csproj: The target framework 'net8.0' must be 'net6.0'. V…
05 Mar 2024 13:37 UTC
-
Gridnode fails to set up RDI Storage
Thanks. That works now
05 Mar 2024 13:24 UTC