Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with specflow 3.9.22 in visual studio Mac. System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. #56

Open
Manthiramoorthy opened this issue Aug 11, 2021 · 1 comment

Comments

@Manthiramoorthy
Copy link

I am facing below issue while run the test case with specflow 3.9.22 plugin in visual studio Mac

Seems like Xamarin.UITest wasn't adjusted to SpecFlow 3.9 yet as Specflow team feedback. can i know the release version that will support specflow 3.9? or
when will be available to use?
or how can i resolve this issue?

Specification
Specflow - 3.9.22
Xamarin.UITest - 3.0.19
Visual Studio : Visual Studio Community 2019 for Mac
Version 8.10.4 (build 11)
Note: I have also tried with latest Xamarin.UITest version 3.1.0

System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
----> System.TypeLoadException : VTable setup of type Xamarin.UITest.SpecFlow.Shared.TestTracerDecorator failed
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:409
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/Reflection/MethodBase.cs:53
at Xamarin.UITest.Events.EventManager.TriggerAfterAppStarted (Xamarin.UITest.IApp app) [0x00066] in <17bc64ecb1ef48f9b44fb25c0bb4158c>:0
at Xamarin.UITest.Events.EventManager.AfterAppStarted (Xamarin.UITest.IApp app) [0x00000] in <17bc64ecb1ef48f9b44fb25c0bb4158c>:0
at Xamarin.UITest.Configuration.iOSAppConfigurator.StartApp (Xamarin.UITest.Configuration.AppDataMode appDataMode) [0x0001c] in <17bc64ecb1ef48f9b44fb25c0bb4158c>:0

@Slm0nB
Copy link

Slm0nB commented Jan 5, 2022

I have the same problem - did you find a solution or a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants