Forum Discussion
The specific error is:
Result StackTrace:
at SmartBear.TestLeft.WebApiWrapper.WebApiClient..ctor(String baseUri, Int32 timeout)
at SmartBear.TestLeft.DriverImpl..ctor(String host, Int32 port)
at SmartBear.TestLeft.LocalDriver..ctor(Int32 port)
at DeltaClient.Test.UserAcceptance.Fixtures.TestFixture..ctor() in C:\Projects\MyProject\Fixtures\TestFixture.cs:line 38
----- Inner Stack Trace -----
at SmartBear.TestLeft.WebApiWrapper.WebApiClient..cctor()
Result Message:
System.TypeInitializationException : The type initializer for 'SmartBear.TestLeft.WebApiWrapper.WebApiClient' threw an exception.
---- System.IO.FileLoadException : Could not load file or assembly 'RestSharp, Version=100.0.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Any workaround exists for this . I am also getting the same issue.
This is coming when RestSharp is being used at multiple places in the same project or solution.
Ex : There is a DLL we are referring into project which has dependency on RestSharp .
Related Content
- 6 months ago
- 4 years ago
- 9 years ago
Recent Discussions
- 31 days ago
- 6 months ago