-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Could not load file or assembly"Could not load file or assembly" in the VS extension"Could not load file or assembly" in the VS extension
Description
Reqnroll Version
Reqnroll for Visual Studio 2022 version 2025.1.256
Which test runner are you using?
NUnit
Test Runner Version Number
3.0.2
.NET Implementation
.NET 9.0
Test Execution Method
Visual Studio Test Explorer
Content of reqnroll.json configuration file
No response
Issue Description
Got JsonReaderException in the output window and the project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled.
Here's the full output:
Info: OnActivityStarted: Starting Visual Studio Extension...
Info: CreateProjectScope: Initializing project: NutanixAhvPcPlugin.ComponentTest.g
Info: OnSettingsInitialized: Project settings initialized: .NETFramework,Version=v4.7.2,Reqnroll:3.0.2
Warning: AndDiscoveryProviderSucceed: Error during binding discovery.
Command executed:
E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472> C:\Program Files\dotnet\dotnet.exe exec C:\Users\anshulj\AppData\Local\Microsoft\VisualStudio\17.0_f4856321\Extensions\qvas1sny.1v3\Connectors\Reqnroll-Generic-net8.0\reqnroll-vs.dll discovery E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll ""
Exit code: 0
Message:
'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Unable to deserialize discovery options: Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ({
"assemblyFile": "E:\\code\\appmanagement\\buck-out\\gen\\Provisioning\\Plugins\\NutanixAhvPcPlugin\\Tests\\NutanixAhvPcPlugin.ComponentTests\\anycpu-debug__\\bin\\debug\\net472\\NutanixAhvPcPlugin.ComponentTest.dll",
"connectorFolder": "C:\\Users\\anshulj\\AppData\\Local\\Microsoft\\VisualStudio\\17.0_f4856321\\Extensions\\qvas1sny.1v3\\Connectors\\Reqnroll-Generic-net8.0"
})
Error System.TypeLoadException: Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetDefaultSimpleConverters()
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetBuiltInConverter(Type typeToConvert)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetConverterForType(Type typeToConvert, JsonSerializerOptions options, Boolean resolveJsonConverterAttribute)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.CreateJsonTypeInfo(Type type, JsonSerializerOptions options)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoNoCaching(Type type)
at System.Text.Json.JsonSerializerOptions.CachingContext.CreateCacheEntry(Type type, CachingContext context)
--- End of stack trace from previous location ---
at System.Text.Json.JsonSerializerOptions.CachingContext.CacheEntry.GetResult()
at System.Text.Json.JsonSerializerOptions.CachingContext.GetOrAddTypeInfo(Type type, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoInternal(Type type, Boolean ensureConfigured, Nullable`1 ensureNotNull, Boolean resolveIfMutable, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoForRootType(Type type, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions options, Type inputType)
at System.Text.Json.JsonSerializer.GetTypeInfo[T](JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at ReqnrollConnector.JsonSerialization.DeserializeDiscoveryOptions(String json, ILogger log) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\JsonSerialization.cs:line 77
DiscoveryOptions { DebugMode = False, AssemblyFile = E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll, ConfigFile = , ConnectorFolder = C:\Users\anshulj\AppData\Local\Microsoft\VisualStudio\17.0_f4856321\Extensions\qvas1sny.1v3\Connectors\Reqnroll-Generic-net8.0 }
Loading E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll
NutanixAhvPcPlugin.ComponentTest, Version=7.47.0.0, Culture=neutral, PublicKeyToken=a80ce61cfbf8b47a loaded
Microsoft.Extensions.DependencyModel.DependencyContext loaded
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading Reqnroll, Version=3.0.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\Reqnroll.dll
Found runtime library:Reqnroll, Version=3.0.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
Loading netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
System.InvalidOperationException: Cannot find reference assembly 'netstandard.dll' file for package netstandard
at Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies)
at ReqnrollConnector.AssemblyLoading.RuntimeCompositeCompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\AssemblyLoading\RuntimeCompositeCompilationAssemblyResolver.cs:line 19
Loading System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading System.Runtime.Loader, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Collections.Immutable.dll
Found runtime library:System.Collections.Immutable, Version=9.0.0.9, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Text.Json.dll
Found runtime library:System.Text.Json, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Text.Encodings.Web.dll
Found runtime library:System.Text.Encodings.Web, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Memory.dll
Found runtime library:System.Memory, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Runtime.CompilerServices.Unsafe.dll
Found runtime library:System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Threading.Tasks.Extensions.dll
Found runtime library:System.Threading.Tasks.Extensions, Version=4.2.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Buffers.dll
Found runtime library:System.Buffers, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
Found compilation library:System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading Reqnroll.VisualStudio.ReqnrollConnector.Models, Version=2025.1.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
System.Text.Json.JsonException: 'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: 'C' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at ReqnrollConnector.JsonSerialization.DeserializeObjectRunnerResult(String json, ILogger log) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\JsonSerialization.cs:line 108
Warning: AndDiscoveryProviderSucceed: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled.
Please check the error message above and report to https://github.com/reqnroll/Reqnroll.VisualStudio/issues if you cannot fix.
Warning: AndDiscoveryProviderSucceed: Error during binding discovery.
Command executed:
E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472> C:\Program Files\dotnet\dotnet.exe exec C:\Users\anshulj\AppData\Local\Microsoft\VisualStudio\17.0_f4856321\Extensions\qvas1sny.1v3\Connectors\Reqnroll-Generic-net8.0\reqnroll-vs.dll discovery E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll ""
Exit code: 0
Message:
'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Unable to deserialize discovery options: Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ({
"assemblyFile": "E:\\code\\appmanagement\\buck-out\\gen\\Provisioning\\Plugins\\NutanixAhvPcPlugin\\Tests\\NutanixAhvPcPlugin.ComponentTests\\anycpu-debug__\\bin\\debug\\net472\\NutanixAhvPcPlugin.ComponentTest.dll",
"connectorFolder": "C:\\Users\\anshulj\\AppData\\Local\\Microsoft\\VisualStudio\\17.0_f4856321\\Extensions\\qvas1sny.1v3\\Connectors\\Reqnroll-Generic-net8.0"
})
Error System.TypeLoadException: Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetDefaultSimpleConverters()
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetBuiltInConverter(Type typeToConvert)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetConverterForType(Type typeToConvert, JsonSerializerOptions options, Boolean resolveJsonConverterAttribute)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.CreateJsonTypeInfo(Type type, JsonSerializerOptions options)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoNoCaching(Type type)
at System.Text.Json.JsonSerializerOptions.CachingContext.CreateCacheEntry(Type type, CachingContext context)
--- End of stack trace from previous location ---
at System.Text.Json.JsonSerializerOptions.CachingContext.CacheEntry.GetResult()
at System.Text.Json.JsonSerializerOptions.CachingContext.GetOrAddTypeInfo(Type type, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoInternal(Type type, Boolean ensureConfigured, Nullable`1 ensureNotNull, Boolean resolveIfMutable, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoForRootType(Type type, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions options, Type inputType)
at System.Text.Json.JsonSerializer.GetTypeInfo[T](JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at ReqnrollConnector.JsonSerialization.DeserializeDiscoveryOptions(String json, ILogger log) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\JsonSerialization.cs:line 77
DiscoveryOptions { DebugMode = False, AssemblyFile = E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll, ConfigFile = , ConnectorFolder = C:\Users\anshulj\AppData\Local\Microsoft\VisualStudio\17.0_f4856321\Extensions\qvas1sny.1v3\Connectors\Reqnroll-Generic-net8.0 }
Loading E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll
NutanixAhvPcPlugin.ComponentTest, Version=7.47.0.0, Culture=neutral, PublicKeyToken=a80ce61cfbf8b47a loaded
Microsoft.Extensions.DependencyModel.DependencyContext loaded
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading Reqnroll, Version=3.0.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\Reqnroll.dll
Found runtime library:Reqnroll, Version=3.0.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
Loading netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
System.InvalidOperationException: Cannot find reference assembly 'netstandard.dll' file for package netstandard
at Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies)
at ReqnrollConnector.AssemblyLoading.RuntimeCompositeCompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\AssemblyLoading\RuntimeCompositeCompilationAssemblyResolver.cs:line 19
Loading System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading System.Runtime.Loader, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Collections.Immutable.dll
Found runtime library:System.Collections.Immutable, Version=9.0.0.9, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Text.Json.dll
Found runtime library:System.Text.Json, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Text.Encodings.Web.dll
Found runtime library:System.Text.Encodings.Web, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Memory.dll
Found runtime library:System.Memory, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Runtime.CompilerServices.Unsafe.dll
Found runtime library:System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Threading.Tasks.Extensions.dll
Found runtime library:System.Threading.Tasks.Extensions, Version=4.2.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Buffers.dll
Found runtime library:System.Buffers, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
Found compilation library:System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading Reqnroll.VisualStudio.ReqnrollConnector.Models, Version=2025.1.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
System.Text.Json.JsonException: 'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: 'C' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at ReqnrollConnector.JsonSerialization.DeserializeObjectRunnerResult(String json, ILogger log) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\JsonSerialization.cs:line 108
Warning: AndDiscoveryProviderSucceed: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled.
Please check the error message above and report to https://github.com/reqnroll/Reqnroll.VisualStudio/issues if you cannot fix.
Warning: AndDiscoveryProviderSucceed: Error during binding discovery.
Command executed:
E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472> C:\Program Files\dotnet\dotnet.exe exec C:\Users\anshulj\AppData\Local\Microsoft\VisualStudio\17.0_f4856321\Extensions\qvas1sny.1v3\Connectors\Reqnroll-Generic-net8.0\reqnroll-vs.dll discovery E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll ""
Exit code: 0
Message:
'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Unable to deserialize discovery options: Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ({
"assemblyFile": "E:\\code\\appmanagement\\buck-out\\gen\\Provisioning\\Plugins\\NutanixAhvPcPlugin\\Tests\\NutanixAhvPcPlugin.ComponentTests\\anycpu-debug__\\bin\\debug\\net472\\NutanixAhvPcPlugin.ComponentTest.dll",
"connectorFolder": "C:\\Users\\anshulj\\AppData\\Local\\Microsoft\\VisualStudio\\17.0_f4856321\\Extensions\\qvas1sny.1v3\\Connectors\\Reqnroll-Generic-net8.0"
})
Error System.TypeLoadException: Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetDefaultSimpleConverters()
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetBuiltInConverter(Type typeToConvert)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetConverterForType(Type typeToConvert, JsonSerializerOptions options, Boolean resolveJsonConverterAttribute)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.CreateJsonTypeInfo(Type type, JsonSerializerOptions options)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoNoCaching(Type type)
at System.Text.Json.JsonSerializerOptions.CachingContext.CreateCacheEntry(Type type, CachingContext context)
--- End of stack trace from previous location ---
at System.Text.Json.JsonSerializerOptions.CachingContext.CacheEntry.GetResult()
at System.Text.Json.JsonSerializerOptions.CachingContext.GetOrAddTypeInfo(Type type, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoInternal(Type type, Boolean ensureConfigured, Nullable`1 ensureNotNull, Boolean resolveIfMutable, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoForRootType(Type type, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions options, Type inputType)
at System.Text.Json.JsonSerializer.GetTypeInfo[T](JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at ReqnrollConnector.JsonSerialization.DeserializeDiscoveryOptions(String json, ILogger log) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\JsonSerialization.cs:line 77
DiscoveryOptions { DebugMode = False, AssemblyFile = E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll, ConfigFile = , ConnectorFolder = C:\Users\anshulj\AppData\Local\Microsoft\VisualStudio\17.0_f4856321\Extensions\qvas1sny.1v3\Connectors\Reqnroll-Generic-net8.0 }
Loading E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll
NutanixAhvPcPlugin.ComponentTest, Version=7.47.0.0, Culture=neutral, PublicKeyToken=a80ce61cfbf8b47a loaded
Microsoft.Extensions.DependencyModel.DependencyContext loaded
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading Reqnroll, Version=3.0.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\Reqnroll.dll
Found runtime library:Reqnroll, Version=3.0.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
Loading netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
System.InvalidOperationException: Cannot find reference assembly 'netstandard.dll' file for package netstandard
at Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies)
at ReqnrollConnector.AssemblyLoading.RuntimeCompositeCompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\AssemblyLoading\RuntimeCompositeCompilationAssemblyResolver.cs:line 19
Loading System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading System.Runtime.Loader, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Collections.Immutable.dll
Found runtime library:System.Collections.Immutable, Version=9.0.0.9, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Text.Json.dll
Found runtime library:System.Text.Json, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Text.Encodings.Web.dll
Found runtime library:System.Text.Encodings.Web, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Memory.dll
Found runtime library:System.Memory, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Runtime.CompilerServices.Unsafe.dll
Found runtime library:System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Threading.Tasks.Extensions.dll
Found runtime library:System.Threading.Tasks.Extensions, Version=4.2.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Buffers.dll
Found runtime library:System.Buffers, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
Found compilation library:System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading Reqnroll.VisualStudio.ReqnrollConnector.Models, Version=2025.1.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
System.Text.Json.JsonException: 'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: 'C' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at ReqnrollConnector.JsonSerialization.DeserializeObjectRunnerResult(String json, ILogger log) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\JsonSerialization.cs:line 108
Warning: AndDiscoveryProviderSucceed: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled.
Please check the error message above and report to https://github.com/reqnroll/Reqnroll.VisualStudio/issues if you cannot fix.
Warning: AndDiscoveryProviderSucceed: Error during binding discovery.
Command executed:
E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472> C:\Program Files\dotnet\dotnet.exe exec C:\Users\anshulj\AppData\Local\Microsoft\VisualStudio\17.0_f4856321\Extensions\qvas1sny.1v3\Connectors\Reqnroll-Generic-net8.0\reqnroll-vs.dll discovery E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll ""
Exit code: 0
Message:
'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Unable to deserialize discovery options: Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ({
"assemblyFile": "E:\\code\\appmanagement\\buck-out\\gen\\Provisioning\\Plugins\\NutanixAhvPcPlugin\\Tests\\NutanixAhvPcPlugin.ComponentTests\\anycpu-debug__\\bin\\debug\\net472\\NutanixAhvPcPlugin.ComponentTest.dll",
"connectorFolder": "C:\\Users\\anshulj\\AppData\\Local\\Microsoft\\VisualStudio\\17.0_f4856321\\Extensions\\qvas1sny.1v3\\Connectors\\Reqnroll-Generic-net8.0"
})
Error System.TypeLoadException: Could not load type 'System.Collections.Generic.ISet`1' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetDefaultSimpleConverters()
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetBuiltInConverter(Type typeToConvert)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetConverterForType(Type typeToConvert, JsonSerializerOptions options, Boolean resolveJsonConverterAttribute)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.CreateJsonTypeInfo(Type type, JsonSerializerOptions options)
at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoNoCaching(Type type)
at System.Text.Json.JsonSerializerOptions.CachingContext.CreateCacheEntry(Type type, CachingContext context)
--- End of stack trace from previous location ---
at System.Text.Json.JsonSerializerOptions.CachingContext.CacheEntry.GetResult()
at System.Text.Json.JsonSerializerOptions.CachingContext.GetOrAddTypeInfo(Type type, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoInternal(Type type, Boolean ensureConfigured, Nullable`1 ensureNotNull, Boolean resolveIfMutable, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializerOptions.GetTypeInfoForRootType(Type type, Boolean fallBackToNearestAncestorType)
at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions options, Type inputType)
at System.Text.Json.JsonSerializer.GetTypeInfo[T](JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at ReqnrollConnector.JsonSerialization.DeserializeDiscoveryOptions(String json, ILogger log) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\JsonSerialization.cs:line 77
DiscoveryOptions { DebugMode = False, AssemblyFile = E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll, ConfigFile = , ConnectorFolder = C:\Users\anshulj\AppData\Local\Microsoft\VisualStudio\17.0_f4856321\Extensions\qvas1sny.1v3\Connectors\Reqnroll-Generic-net8.0 }
Loading E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\NutanixAhvPcPlugin.ComponentTest.dll
NutanixAhvPcPlugin.ComponentTest, Version=7.47.0.0, Culture=neutral, PublicKeyToken=a80ce61cfbf8b47a loaded
Microsoft.Extensions.DependencyModel.DependencyContext loaded
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading Reqnroll, Version=3.0.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\Reqnroll.dll
Found runtime library:Reqnroll, Version=3.0.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
Loading netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
System.InvalidOperationException: Cannot find reference assembly 'netstandard.dll' file for package netstandard
at Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies)
at ReqnrollConnector.AssemblyLoading.RuntimeCompositeCompilationAssemblyResolver.TryResolveAssemblyPaths(CompilationLibrary library, List`1 assemblies) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\AssemblyLoading\RuntimeCompositeCompilationAssemblyResolver.cs:line 19
Loading System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading System.Runtime.Loader, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Collections.Immutable.dll
Found runtime library:System.Collections.Immutable, Version=9.0.0.9, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Text.Json.dll
Found runtime library:System.Text.Json, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Text.Encodings.Web.dll
Found runtime library:System.Text.Encodings.Web, Version=9.0.0.9, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Memory.dll
Found runtime library:System.Memory, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Runtime.CompilerServices.Unsafe.dll
Found runtime library:System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Threading.Tasks.Extensions.dll
Found runtime library:System.Threading.Tasks.Extensions, Version=4.2.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Resolved with Microsoft.Extensions.DependencyModel.Resolution.AppBaseCompilationAssemblyResolver from E:\code\appmanagement\buck-out\gen\Provisioning\Plugins\NutanixAhvPcPlugin\Tests\NutanixAhvPcPlugin.ComponentTests\anycpu-debug__\bin\debug\net472\System.Buffers.dll
Found runtime library:System.Buffers, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Loading System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
Found compilation library:System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Resolved with Microsoft.Extensions.DependencyModel.Resolution.ReferenceAssemblyPathResolver from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Loading System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Loading Reqnroll.VisualStudio.ReqnrollConnector.Models, Version=2025.1.0.0, Culture=neutral, PublicKeyToken=611ce36403091019
System.Text.Json.JsonException: 'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: 'C' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at ReqnrollConnector.JsonSerialization.DeserializeObjectRunnerResult(String json, ILogger log) in D:\a\Reqnroll.VisualStudio\Reqnroll.VisualStudio\Connectors\Reqnroll.VisualStudio.ReqnrollConnector.Generic\JsonSerialization.cs:line 108
Warning: AndDiscoveryProviderSucceed: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and other features are disabled.
Please check the error message above and report to https://github.com/reqnroll/Reqnroll.VisualStudio/issues if you cannot fix.
Steps to Reproduce
Not sure. It fails to discover test steps and I see the above errors in the Visual Studio output tab.
Used Reqnroll for Visual Studio 2022 version 2025.1.256.
I can give more info as required
Link to Repro Project
No response
Metadata
Metadata
Assignees
Labels
Could not load file or assembly"Could not load file or assembly" in the VS extension"Could not load file or assembly" in the VS extension