Community

External COM component export C# .NET framework version 4.0 - FC11 for Invoices

I have been created external COM component in C# .NET version 3.5 and everything was working well. Now I want to implement WSDL service and also I must add new references to the project such as Microsoft.CSharp which use .NET runtime version 4.0. So that is reason why I should move the entire project to .NET version 4.0, I clean and rebuild project and update DLL reference in ABBYY, but now when I try to export document I got error:


[Processing error]:


Document 2: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.



I try to add useLegacyV2RuntimeActivationPolicy="true" attribute in supportedRuntime node in app.config XML file in Visual Studio but I have no luck, issue is showing again.

Has anyone had the same or similar problem?
Thanks in advance

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Anastasiya Nechaeva

    It is impossible to link ABBYY FlexiCapture library with .NET 4.0.


    Support of .NET 4.0 will be implemented in the future. Now you can build a web-service with FlexiCapture library using .NET 3.5 and use it through network requests to avoid linking necessity.
    0

Please sign in to leave a comment.