Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Remove references to existing COM libraries and then readd the references with "Embed Interop Types = True".
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a WCF service which is referencing a COM dll. I keep getting the error as follows.
Could not load file or assembly 'Interop.ABBCLIENTLICENSEPROVIDERLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
To test if it is assembly related problem or reference related problem, i created a console application and used this reference ABBCLIENTLICENSEPROVIDERLib and it worked fine. There is no error in console application.
Only the WCF application is throwing the exception.
This is high priority task and immediate help is appreciated.
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Answer accepted by question author
Remove references to existing COM libraries and then readd the references with "Embed Interop Types = True".
Try this first :-
right click on reference -> properties -> change 'Specific Version' to false.
Also refer this :-
the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference
https://stackoverflow.com/questions/4187907/net-picking-wrong-referenced-assembly-version