Forum member

davetorutek

17 posts

Posts by davetorutek

  1. 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…

  2. 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).

  3. 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…

  4. 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.

  5. 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…

  6. 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…

  7. Grid node can't build with RuntimeIdentifier specified

    Yep, works fine locally, only issues on grid nodes.

  8. 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 …

  9. 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…

  10. 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…

  11. 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. 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…

  13. 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 '…

  14. Poor ncrunch behaviour when test duration changes dramatically

    No worries, thanks. The sleep hack works ok :)

  15. 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.

  16. 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…

  17. 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