コミュニティ

Problem in using .Net Framework 4 Compatible external DLL

Hi.

I am an user of Flexicapture 11 Distributed. Currently I am using .Net Framework 3.5 compatible external DLLs to add some externally defined functions to call from ABBYY C# scripts. Our development team want to move to .Net Framework 4 so they given me a .net framework 4 compatible DLLs. But now while calling functions from those DLLs I am getting following error.
“ Could not load file or assembly 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03d6f7f55d50a1a' or one of its dependencies. The system cannot find the file specified. “
Can anyone tell me how to make my ABBYY system compatible for .Net framework 4 (As I read in help articles that abbyy FC11 supports .net framework 4).

Thanks,
Rahul

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

2件のコメント

  • Avatar
    Katja Ovcharova
    Hello Rahul,

    As stated in FC Help, section Specifics of scripts written in .Net languages, ".Net assemblies should be compiled using Microsoft .Net Framework 3.5 (or earlier)". Unfortunately, only .Net 3.5 SP1 external assemblies are supported in FlexiCapture 11. The .Net 4 compatibility that you mentioned in your original post is specified in the documentation as a software requirement for appropriate FC servers' work. For stations (where scripts and external custom dlls actually work) .Net 3.5 SP1 is required. This is going to be changed only in FC12.

    The reason of such restriction is that starting from .Net 4.0 Microsoft has changed the CLR verion. So the assembly built in .Net until 3.5, inclusive, cannot work under the runtime of .Net 4.0 or 4.5 (CLR version = 4). It is technically hard to support different CLR versions in one application, so .Net 3.5 was chosen to be supported in FC11 as it was the most popular .Net version among the developers by the moment of the FC11 first release.

    Hope this answers your question.

    Best regards,
    Katja
    0
  • Avatar
    Permanently deleted user
    Hello Katja,

    Thank you for the answer and information.

    Thanks,
    Rahul
    0

サインインしてコメントを残してください。