Closed akolhe7 closed 7 months ago
Thanks @akolhe7
I noticed you're using an older version of the adapter. Can you try updating to v4.5.0 of the adapter, NUnit3TestAdapter
, to see if the issues persist?
Let me try that.
That worked. Thank you. We can close this issue
When reporting a bug, please provide the following information to speed up triage:
NUnit3.TestAdapter : 4.3.1.0 NUnit Adapter 4.3.1.0:
Visual studio version - Version 17.8.2 .net 8.0
Looking fro a workaround or solution.
Stacktrace:
ERROR The type initializer for 'NUnit.Engine.Services.RuntimeFrameworkService' threw an exception., reason: System.TypeInitializationException: The type initializer for 'NUnit.Engine.Services.RuntimeFrameworkService' threw an exception. ---> System.ArgumentException: Unknown framework version 8.0 Parameter name: version at NUnit.Engine.RuntimeFramework.GetClrVersionForFramework(Version frameworkVersion) at NUnit.Engine.RuntimeFramework..ctor(RuntimeType runtime, Version version, String profile) at NUnit.Engine.RuntimeFramework.GetNetCoreRuntimesFromDirectoryNames(IEnumerable
1 dirNames) at NUnit.Engine.RuntimeFramework.FindDotNetCoreFrameworks() at NUnit.Engine.RuntimeFramework.get_AvailableFrameworks() at NUnit.Engine.Services.RuntimeFrameworkService..cctor() --- End of inner exception stack trace --- Server stack trace: at NUnit.Engine.Services.RuntimeFrameworkService.ApplyImageData(TestPackage package) at NUnit.Engine.Services.RuntimeFrameworkService.SelectRuntimeFramework(TestPackage package) at NUnit.Engine.Runners.MasterTestRunner.GetEngineRunner() at NUnit.Engine.Runners.MasterTestRunner.Explore(TestFilter filter) at JetBrains.ReSharper.TestRunner.Adapters.NUnit3.NUnitRunner.DiscoverTestsFrom(ITestRunner runner, TestPackage package, RemoteTaskDepot depot) in Z:\BuildAgent\work\1b668fe37ef92293\ReSharperTestRunner\src\Adapters\TestRunner.Adapters.NUnit3\NUnitRunner.cs:line 170 at JetBrains.ReSharper.TestRunner.Adapters.NUnit3.NUnitRunner.<>cDisplayClass5_0.