Referencing a .Net assembly in OE10.2B

Posted by coates_aj on 26-Jul-2016 03:23

I have been given a .Net  assembly to try and use within our OE10.2B environment but am having some problems using it.

If I try to add the assembly via Tools > Assembly References > Local Assemblies then I receive the error 'Not a valid assembly'.

If I use System.Reflection.Assembly:Load(SEARCH("assembly.dll")), then I get this error:

"System.IO.FileLoadException: could not load file or assembly ‘assembly.dll’ or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)."

I have another machine with OE11.6 and I have no issues using the assembly in that environment, and after doing some more investigation I believe  the assembly has dependencies on .net 4.0, so are there any ideas how I might get this working in OE10.2b?

Many Thanks

Posted by Mike Fechner on 26-Jul-2016 03:30

10.2B only supports .NET 2.0

Outlook for Android herunterladen




All Replies

Posted by Mike Fechner on 26-Jul-2016 03:30

10.2B only supports .NET 2.0

Outlook for Android herunterladen




Posted by coates_aj on 26-Jul-2016 03:42

Thanks for the quick reply

Posted by Laura Stern on 26-Jul-2016 08:25

Hmmm... I would have thought you'd get a different error for this case.

You could install .NET 4.0 or 4.5 on the machine and configure the app to use it.  See here:

msdn.microsoft.com/.../ff602939(v=vs.110).aspx

Also, always make sure that the .dll isn't blocked (Check file Properties and look for "Unblock" button).

This thread is closed