Hi, I have a DLL that is partially written in native C++ and partially in C++/CLI.
Until recently, the DLL could be loaded without any issues from C# components.
However, I’ve started seeing strange behavior:
-
On the machines I’ve been using so far, the DLL still loads without any problems.
-
But on newly purchased machines—after installing Rhino—I get the following error (shown below). I don’t believe this is a simple “file not found” issue; it seems more like a loading failure related to the .NET Framework or .NET Core environment. Some colleagues and friends have also reported similar errors.
Rhino.Runtime.Code.Execution.ExecuteException: Could not load file or assembly ‘G:\Shared drives\1023_Zhetton\shared_library\sparse_solver_WIN.dll’. The specified module could not be found.
—> System.IO.FileNotFoundException: Could not load file or assembly ‘G:\Shared drives\1023_Zhetton\shared_library\sparse_solver_WIN.dll’. The specified module could not be found.