Forum member

RyanSullivanNET

11 posts

Posts by RyanSullivanNET

  1. nCrunch.Common.UserException: Errors occurred while trying to load the project file

    Remco, Thanks for your quick response. Your suggestion was valuable. In other code repositories the values _VS2026_ and _VS2022_ and _10.0.202_ and _8.0.420_ (the latter two being similar to what is found in the results of running "dotnet --list-sdks" in command line). In the code reposi…

  2. nCrunch.Common.UserException: Errors occurred while trying to load the project file

    In some of my work projects (.NET 8 Asp.NET projects with .NET 8 xunit Test projects), NCrunch refuses to run unit tests, but I am able to run tests using the Test Explorer in Visual Studio 2022. Here is some output from the NCrunch Diagnostic Output: (some parts will be redacted to prevent names…

  3. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    I reverted to NCrunch 5.12.0.10. Initially the long runtime of unit tests was the same. At that point, I re-ran the Configuration Wizard, and on the RDI page, I turned off RDI for the solution. Suddenly, unit tests ran faster. Now when I press the "Run all tests" button, they all run in 1-3 …

  4. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    I removed the xunit.v3 NuGet package and added the xunit NuGet package version 2.9.3. I also removed a couple things in the project file that were recommended by the xunit documentation when migrating to xunit3. The performance problem still exists. Using a manual stopwatch, 2193 unit tests took…

  5. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    Thanks for the recommendation (to downgrade xunit).

  6. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    I ran the tests with NCrunch Hot Spots open, and then refreshed it once the tests were run. I exported it, and copied the last three columns (for the first 66 lines) to put them here: Max Execution Time Average Execution Time Total Execution Time 250 70 281…

  7. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    Most of these tests are fairly simple xunit tests. I'm not familiar with ITestOutputHelper. I'm not familiar with NCrunch Hotspots, but I'll open that and watch it during the execution of the tests.

  8. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    I tried turning off RDI (I set "Enable RDI" to False in the NCrunch Configuration) to see if performance would improve, and clicked "Reset" in the NCrunch Tests window in Visual Studio 2022. It took 3 minutes and 17 seconds to complete. I didn't see anything in the NCrunch Diagnostic Output.

  9. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    I uninstalled NCrunch 5.12.0.10 for Visual Studio, and installed NCrunch_VS2022_5.13.0.1.msi. NCrunch now builds and runs the tests, but I noted the following: - The "Test Explorer" window no longer displays any tests in the window. I understand this is probably not your concern, but it is stra…

  10. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    I have been running NCrunch 5.12.0.10. I'll work on getting 5.13 installed (on the thread you mentioned), and will get back to you.

  11. xunit v3, missing xunit.v3.runner.inproc.console net6.0?

    I'm having the same issue as Green Moose. NCrunch is not working for me. NCrunch simply won't run tests. Digging into this, I sometimes find an analysis failure in the NCrunch Processing Queue, sometimes I don't. An error is sometimes reported in the NCrunch Tests window: An error occurre…