You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type conflict caused by ValueTask<> causes dynamic type resolution to fail.
The following two type definitions collide for tests executed on .NET Framework:
Would it be possible to used System.Threading.Tasks.Extensions package rather than defining your own ValueTask<>?
Background
aqua-core is a library that allows to serialize type information to be carried and re-created across application boundaries, different .net runtime and platform versions. Types defined in multiple locations (loaded into the default loading context) do contradict the concept and cannot be included in corresponding models. Hence, we're currently blocked from updating to xunit.runner.visualstudio.3.0.0.
The text was updated successfully, but these errors were encountered:
There is a package reference to xunit.runner.visualstudio for our unit test projects. No direct reference to xunit.runner.visualstudio.testadapter.
However, I suspect since we're using reflection to resolve types by full-name (not assembly-qualified-name), looking-up all loaded assemblies from AppDomain.CurrentDomain.GetAssemblies(), we end-up using System.Threading.Tasks.ValueTask<> from xunit.runner.visualstudio.testadapter assembly.
Issue
Type conflict caused by
ValueTask<>
causes dynamic type resolution to fail.The following two type definitions collide for tests executed on .NET Framework:
Potential Resolution
Would it be possible to used System.Threading.Tasks.Extensions package rather than defining your own
ValueTask<>
?Background
aqua-core is a library that allows to serialize type information to be carried and re-created across application boundaries, different .net runtime and platform versions. Types defined in multiple locations (loaded into the default loading context) do contradict the concept and cannot be included in corresponding models. Hence, we're currently blocked from updating to xunit.runner.visualstudio.3.0.0.
The text was updated successfully, but these errors were encountered: