What are the challenges you face when working across database platforms? Take the survey
Options

C++ DLL

mltgamesmltgames Posts: 17 Bronze 1
edited April 27, 2015 5:00AM in SmartAssembly
I want to include an Unmanaged DLL Inside my projet.

But when I'm obfuscating the code I have this error :
System.IO.FileLoadException: Could not load file or assembly 'RFAccessPoint, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

But this is a C++ Library and I can't sign the assembly with a strong name.

How can I use this DLL if I can't sign the DLL with a strong name.

Thanks for your help,

Comments

  • Options
    Alex BAlex B Posts: 1,146 Diamond 4
    Hi mltgames,

    The requirements documentation under System requirements to run the software modified by SmartAssembly indicates that:
    SmartAssembly works on managed code only. If your application uses a mixture of managed and unmanaged code, the unmanaged code must not be in the main assembly. Any dependencies containing unmanaged code must be excluded in the SmartAssembly project.

    So you will need to exclude this from obfuscation in the SmartAssembly project.

    Kind regards,
    Alex
    Product Support Engineer | Redgate Software

    Have you visited our Help Center?
Sign In or Register to comment.