An exception can be very confusing, as UCMA projects do not require an explicit reference to this SIPEPS DLL , and you will often get an exception even if you find the DLL and move it to the same directory as your expression.
It turns out that it is usually caused by one of two things:
- You are targeting the wrong version of the .NET Framework.
- You are targeting the wrong type of processor.
Open the properties for your project in Visual Studio and make sure the .NET Framework 4.5 is selected.
If you are not using Visual Studio 2012, you have a slightly larger problem.
because you cannot use .NET 4.5 with Visual Studio 2010 and earlier. If you had an earlier version of the selected frame, change it, rebuild the project and try again. UCMA 4.0 lists .NET 4.5 as a requirement.
If you still get an exception,
check the target platform and make sure that it is Any processor or x64 for all projects.
UCMA only works with 64-bit machines from version 3.0, and sometimes it happens that the project will be unintentionally installed on x86 and therefore will try to load the 32-bit version of SIPEPS.dll at startup. Well, there is no 32-bit version of SIPEPS.dll; hence a somewhat misleading exception.
Link
tharif
source share