Forum member
davetorutek
17 posts
Posts by davetorutek
-
NCrunch possibly causes autocomplete delay in VS2026
I've tried messing with every ncrunch setting I thought worthwhile: - change core balance - only enable distributed processing - engine hosting strategy - disable collect control flow during execution (attempting to disable coverage markers) but no luck. I don't see how ncrunch could be caus…
29 Jun 2026 03:15 UTC
-
NCrunch possibly causes autocomplete delay in VS2026
Thanks, other users are experiencing it without NCrunch. For me I could only reproduce when ncrunch was enabled (reproducing is very random, so this was probably just a coincidence).
22 Mar 2026 21:38 UTC
-
NCrunch possibly causes autocomplete delay in VS2026
In large projects in VS2026 the built in autocomplete (and the ctrl-. refactor menu) have delays of multiple seconds. I disabled ncrunch and restarted VS and I couldn't get it to occur, I then enabled ncrunch (without restarting and after restarting) and it immediately came back. There is a [url…
20 Mar 2026 00:25 UTC
-
NCrunch has encountered an internal error: System.IndexOutOfRangeException: Index was outside the bo
We've ran in to this on one of our projects. What can we do to help debug? Happy to run a debug build of ncrunch or something. Sharing the project might be a stretch (it uses an internal nuget feed), but if we really need to we might be able to provide it.
28 Jan 2025 02:40 UTC
-
Issue using ReadOnlySpan construction
[quote]System.ArgumentException: Value does not fall within the expected range. at System.Runtime.CompilerServices.RuntimeHelpers.GetSpanDataFrom(RuntimeFieldHandle fldHandle, RuntimeTypeHandle targetTypeHandle, Int32& count) at System.Runtime.CompilerServices.RuntimeHelpers.CreateSpan[T](Ru…
13 Dec 2024 01:22 UTC
-
Grid node can't build with RuntimeIdentifier specified
2 - VS 2022 is installed on both my machine and the grid node and they are both up to date. 3 - I've tried setting this to 8.0.101 or VS2022, same issue remains. 1 - I tried this last, I copied the project (Test project with the csproj changes made as in my opening post) to the grid node and r…
09 Feb 2024 02:01 UTC
-
Grid node can't build with RuntimeIdentifier specified
Yep, works fine locally, only issues on grid nodes.
09 Feb 2024 01:13 UTC
-
Grid node can't build with RuntimeIdentifier specified
As of the latest ncrunch we get failure to build projects on the grid node if their csproj contains: [code=xml] <PublishSingleFile>true</PublishSingleFile> <RuntimeIdentifier>win-x64</RuntimeIdentifier> <PublishReadyToRun>true</PublishReadyToRun> [/code] If we remove the runtime …
08 Feb 2024 01:30 UTC
-
Tests using razorlight fail
Thanks for the reply, we'll implement a work around on our side. For anyone else that stumbles upon this, heres a start on what you need: [code] internal static FluentEmailServicesBuilder AddHackedRazorRenderer(this FluentEmailServicesBuilder builder) { builder.Services.TryAdd(Serv…
07 Apr 2020 22:29 UTC
-
Tests using razorlight fail
Hi all. We use Razorlight (via FluentEmail) to generate emails (strings) from cshtml files (razor templates). After upgrading from .netcore 2.2 to 3.1 the code works and tests work through `dotnet test`, but fail when run under ncrunch. I've made a small reproduction here: https://github.c…
06 Apr 2020 23:33 UTC
-
Could not load file or assembly after 4.2.0.7 update
Using this latest build fixes the issue in our original project (I didn't test any of the other intermediate builds)
12 Jan 2020 21:45 UTC
-
Could not load file or assembly after 4.2.0.7 update
Managed to reproduce the error (although maybe not the exact same conditions) in a test project https://github.com/danzel/ncrunchtest20191216 This should make the error as above when trying to run the test. If you remove this line: https://github.com/danzel/ncrunchtest20191216/blob/master/Ha…
15 Dec 2019 23:13 UTC
-
Could not load file or assembly after 4.2.0.7 update
We have a .netcore 2.2 project that uses AspNetCore.TestHost.TestServer for tests. As of the latest ncrunch update we get this error in all tests inside a call to a controller via the TestHost (or when registering signalr): [quote]System.BadImageFormatException: Could not load file or assembly '…
15 Dec 2019 22:46 UTC
-
Poor ncrunch behaviour when test duration changes dramatically
No worries, thanks. The sleep hack works ok :)
07 Jul 2019 19:56 UTC
-
Poor ncrunch behaviour when test duration changes dramatically
In my case the 'tests' are like in the linked example, really just one test with a parameter, making 100s of tests. Looks like the InclusivelyUsesAttribute hack doesn't work in this case as they are all the same test with the same InclusivelyUsesAttribute value.
06 Jul 2019 04:30 UTC
-
Poor ncrunch behaviour when test duration changes dramatically
I have a set of tests where each test usually takes 5-20 seconds to run. They normally run in parallel and everything is fine. However, occasionally I'll code a bug so they immediately fail, spend some time fixing it, then when the issue is fixed, ncrunch has decided these tests always finish imm…
05 Jul 2019 04:21 UTC
-
ASP.NET Core 2.1 integration tests
ASP.Net Core 2.2 Roadmap https://github.com/aspnet/Announcements/issues/307 (Copy/Paste) We are currently planning to have 3 previews before RTM: August – Preview 1 September - Preview 2 October - Preview 3 Before End-of-year – RTM
22 Jul 2018 20:38 UTC