Forum member

talbrecht

20 posts

Posts by talbrecht

  1. NCrunch Test window jittering

    I got it reported by my colleague and could reproduce it locally always, too.

  2. NCrunch Test window jittering

    Hi, here a UI issue if the window is split vertically. It does not occur if it is split horizontally (default). https://github.com/ta-stratec/NCrunch-issues/blob/main/Test%20window%20jittering/NCrunch%20Tests%20window%20jittering.gif Best regards, Thomas

  3. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Hi Remco. No hurry. Please proceed with your normal schedule! I can wait for the next official release. Because the team uses VS anyway I'm used to run the tests via CLI prior push/PR. I'm just happy that I can continue using Rider. Have a nice day! Thomas

  4. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    I've tested this with .NET Full Framework, too. Here the pre-loading is not necessary and the correct Fusion.dll is chosen for the executed architecture (tested with x86/x64/AnyCPU/AnyCPU+Prefer32bit).

  5. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Hi Remco! I've solved it. My GAC is not corrupt, just the GAC handling in .NET Core needs extra care. [quote]using System.Runtime.InteropServices; // THIS IS NEEDED FOR .NET CORE string fusionFullPath = Environment.Is64BitProcess ? @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\fusio…

  6. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    No success. Even after reinstalling Visual Studio 2019 and 2022 the issue with NCrunch in Rider still exists. It seems that I can use NCrunch in VS and console only - like in the good old days -, sigh. Best regards, Thomas PS: I simply do not understand why Rider's NCrunch tries to load an…

  7. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Hi Remco. I uninstalled all NCrunch installations (Console, VS2019, VS2022, Rider) and have reinstalled NCrunch in Rider only... and it still fails. So there is something wrong with my system/GAC. I remember me that I've had multiple VSes side-by-side installed (VS2017, VS2019 and VS2022). We …

  8. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    Hi, Remco. While I prefer Rider (and CLI) my team uses VS2022 w/NCrunch (and without any hassle). Beside Rider I have both VS2019 and VS2022 installed. Do you think that side-by-side installation is the root cause? I've loaded a VS2019 solution while fusion logging was enabled and I got such nCru…

  9. System.BadImageException on NCrunch loading inside Rider if NCrunch Console Tool is installed

    NCrunch Console Tool gets installed as x86 application including GAC registration. As soon as it is available in GAC NCrunch cannot be loaded in Rider anymore. So both cannot be installed on the same machine at the same time. [quote]Details: System.Exception: An exception was thrown in the remote e…

  10. Dependency tests with NetArchTest failing

    Hi, I've always thought that NCrunch enhances the code for testing with NCrunch somehow, e.g. for tracking code lines hit by tests. Therefore the added code must reference NCrunch and breaks your NetArchTest test code which looks at the referenced assemblies during test execution and allows depen…

  11. Are Runtime Identifiers supported?

    Hi Remco. I confirm that 'Copy referenced assemblies to workspace' solves my issue, too. I'm using this approach now. Using 'dotnet restore' as pre-build event was just the first working fix I've found. Best regards, Thomas PS: Another solution should work, too: Use conditional build be…

  12. Are Runtime Identifiers supported?

    Hi Remco. I'm using the current version (4.16.0.4) and stumbled over the same MSBuild error yesterday. My colleague started to use single file deployment which required the RID somehow. I've added a "dotnet restore -r win-x64" as prebuild event to our project to run a restore with RID explicitly …

  13. jetbrains rider plugin?

    There is also the request for a [url=https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/31360174-standalone-ui-which-can-be-used-with-every-other-i]standalone NCrunch[/url] which is independent of VS but would open up NCrunch for any integration - e.g. similar to language serve…

  14. NCrunch 4.14.0.7 build fails while VS2022 17.3.4 compiles without issue

    The project file has contained the following [quote]<Project Sdk="Microsoft.NET.Sdk" />[/quote] After changing it to [quote]<Project Sdk="Microsoft.NET.Sdk"> </Project>[/quote] NCrunch is able to build that project. Thanks for your help! Best regards, Thomas

  15. NCrunch 4.14.0.7 build fails while VS2022 17.3.4 compiles without issue

    NCrunch version 4.14.0.7, VS 17.3.4, solution is .NET 6 The trace output is: [quote]System.Exception: An exception was thrown in the remote environment: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException:…

  16. Distributed Node Heuristics

    Hi, small hints from a satisfied NCrunch user: 1. Upgrade your network (if needed/possible). In the past we had 100 Mbit and large solutions took a while being loaded for testing. Nowadays our developer network is 1Gbit, switched and with 10 Gbit towards the (grid) servers. The upload time is …

  17. Ncrunch windows washed out/blurry on 4K monitor

    Hi Remco, did you check https://docs.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms already? Windows Forms has been improved in that area - my app looks quite ok on screens with different DPI settings at least. But I don't know if this can be applied to Visual Studi…

  18. v4.10.0.6: Grid servers do not build if Visual Studio Build Tools are installed only (+workaround)

    Same happens with NCrunch Console v4.10.0.6 on our build server (also only Visual Studio Build Tools installed). Same error: [quote]A part of the path 'C:\WINDOWS\System32\config\systemprofile\AppData\Local\Microsoft\VisualStudio' could not be found.[/quote] Same workaround. Just as additional …

  19. v4.10.0.6: Grid servers do not build if Visual Studio Build Tools are installed only (+workaround)

    Hi, because we're using just the Visual Studio Build Tools on our grid nodes instead of a full Visual Studio installation the grid nodes start reporting with v4.10.0.6 a missing path: [quote]A part of the path 'C:\WINDOWS\System32\config\systemprofile\AppData\Local\Microsoft\VisualStudio' coul…

  20. Need to manually open/close Grid Node configuration on remote server almost daily

    Hi Remco, hi Alberto. We have had the same or at least a similar problem with our grid nodes. After disabling the NIC power management on the nodes NCrunch is running fine so far. Have a nice weekend! -Thomas