Custom .dll assembly "not found" on Kinetic, but works on E10 fine

We are in the process of converting from E10 to Kinetic 2023.2.17 and we have a Classic Customization that the compiler cannot recognize the .dll file(s) that have been referenced in custom assemblies as well as being placed in the Kinetic Test client folder. The code is the exact same between E10 and Kinetic. I will attach the custom code as attachment

Here is the error:

Error: CS0246 - line 36 (36) - The type or namespace name ‘Dynamsoft’ could not be found (are you missing a using directive or an assembly reference?)

Line Code: using Dynamsoft.DotNet.TWAIN;


Error: CS0246 - line 61 (547) - The type or namespace name ‘DynamicDotNetTwain’ could not be found (are you missing a using directive or an assembly reference?)

Line Code: private static DynamicDotNetTwain twain;


Error: CS0246 - line 2131 (2617) - The type or namespace name ‘Dynamsoft’ could not be found (are you missing a using directive or an assembly reference?)

There is no Dynasoft.dll but instead it’s mentioned in the code as:

private static DynamicDotNetTwain twain;

and

this.dynamicDotNetTwain = new Dynamsoft.DotNet.TWAIN.DynamicDotNetTwain();

and

using Dynamsoft.DotNet.TWAIN;
AP Invoice Custom Code.txt (196.8 KB)

Try removing and re-adding the references.

You may have to get out and get back in and just ignore errors until it catches up.

1 Like

The issue was the DynamicDotNetTWAIN.dll was not a .NET framework 4.0 .dll file. Getting a newer version now works with Kinetic. Thank you again for you help.

1 Like