TechTalk.SpecFlow Error - c#

After updating to SpecFlow 2.3.2, I am getting the following error:
Message: Unit Test Adapter threw exception:
Could not load file or assembly 'TechTalk.SpecFlow, Version=2.3.2.0, Culture=neutral, PublicKeyToken=0778194805d6db41' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
I am using Visual Studio 2017.
Really at a loss here. Any help would be greatly appreciated.

Related

Could not load file or assembly Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.1.1.0

I have a strange case,the website works fine in local but in server i get:
HTTP Error 502.5 - Process Failure
after extract log i get the error :
Unhandled Exception: System.IO.FileLoadException: Could not load file
or assembly ' Microsoft.Extensions.DependencyInjection.Abstractions,
Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
The located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)
when check the uploaded file it's exactly same version

I reinstalled Entity Framework and now it's giving error

I initially got a problem in DB due to which I re-installed entity framework (earlier my version was 5.0 and now I installed 6.1.3), I am connected to SQL server but now I am getting an error which says:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred creating the configuration section handler for entityFramework: Could not load file or assembly 'EntityFramework, Version=6.1.3, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Please tell me how to resolve it.
Thanks
Try to update your EntityFrame Work using this command from
update-Package EntityFramework
Also, make sure that the versions on packages.config and web.config match

C# ASP.NET MVC PayPal not finding assembly

I've installed PayPal using NuGet Install-Package PayPal
I'm then using the code from here to test: https://devtools-paypal.com/guide/pay_paypal
Dictionary<string, string> sdkConfig = new Dictionary<string, string>();
sdkConfig.Add("mode", "sandbox");
string accessToken = new OAuthTokenCredential("XXXXXXXXXXXXXXXXXXXXXX", "XXXXXXXXXXXXXXXXXXXXXX", sdkConfig).GetAccessToken();
I've put a breakpoint after this to inspect, but when I load up the page i get:
Could not load file or assembly 'PayPal, Version=1.7.3.0, Culture=neutral, PublicKeyToken=5b4afc1ccaef40fb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'PayPal, Version=1.7.3.0, Culture=neutral, PublicKeyToken=5b4afc1ccaef40fb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
Line 22:
Line 23: return View();
Line 24: }
Line 25: }
Line 26: }
Source File: c:\users\david\documents\visual studio 2015\Projects\PayPal\PayPal\Controllers\HomeController.cs Line: 24
Assembly Load Trace: The following information can be helpful to determine why the assembly 'PayPal, Version=1.7.3.0, Culture=neutral, PublicKeyToken=5b4afc1ccaef40fb' could not be loaded.
Any help on how to resolve this?
EDIT
I've tried the answers from the link given to the possible duplicate and none of them work for me.
I've just copied my code into a new solution and it's worked. The only thing I can think of is that it's because I named the solution 'PayPal' and this caused an issue somewhere.

Getting Error While Debugging the Plugin in dynamics crm 2013

I'm getting below error while debugging the plugin.
Unhandled Exception: System.IO.FileLoadException: Could not load file
or assembly 'Microsoft.Xrm.Sdk.Workflow, Version=6.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
dependencies. Strong name validation failed. (Exception from HRESULT:
0x8013141A).
It is a CRM 2013 online instance.
Can you check what version of Microsoft.Xrm.Sdk.Workflow library you have referenced in your project. According to the error message, CRM is looking for the Version=6.0.0.0.

Exception with dlls:(Exception from HRESULT: 0x80131040):ThoughtWorks.Selenium.Core, Version=2.12.0.0,

System.IO.FileLoadException: Could not load file or assembly
'ThoughtWorks.Selenium.Core, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=1c2bd1631853048f' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)
I am working on a migration project from selenium RC to Selenium webdriver and upgraded my Wedriver dll to version 2.31.2. I have read the posts from stacks for this error and Cleard Bins and cheked .csprj file and done everything still I am getting the same error. Do you have any idea what am I missing here
http://social.msdn.microsoft.com/Forums/vstudio/en-US/0e82b5d2-e777-4c24-9e4d-9bc3f74cbaf7/exception-from-hresult-0x80131040?forum=csharpgeneral
You go for this . in web.config version and assembly version must be same.

Categories

Resources