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
In a test project in VS, If I 'Run All' Tests from the class in VS, there are some random failing tests with the following message:
Message:
System.AggregateException : One or more errors occurred.
---- System.InvalidOperationException : Cannot create more than one System.Windows.Application instance in the same AppDomain.
---- The following constructor parameters did not have matching fixture data: GlobalServiceProvider gsp
Stack Trace:
----- Inner Stack Trace #1 (System.InvalidOperationException) -----
Application.ctor()
OleServiceProviderMock.MainThread()
--- End of stack trace from previous location where exception was thrown ---
TaskAwaiter.ThrowForNonSuccess(Task task)
TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
OleServiceProviderMock.ctor()
GlobalServiceProvider.ctor()
----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) -----
In a test project in VS, If I 'Run All' Tests from the class in VS, there are some random failing tests with the following message:
Code
Test class
Collection definition
Test Project file
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: