The current documentation for DotNetAssembly (https://www.synergex.com/docs/index.htm#lrm/lrmChap21DOTNETASSEMBLY.htm) has this specific warning:
The .NET assembly API does not support search paths. If you specify an environment variable that is set to multiple directory paths, DotNetAssembly will only use the first one.
However in testing we are finding that this is not true, and that pathing does work; here is the stripped down command:
private static InternalDetails__Data, @DotNetAssembly
public static property Property__, @DotNetAssembly
if(InternalDetails__Data == ^NULL)
InternalDetails__Data = new DotNetAssembly("exe:SynergyInteropLibrary.dll")
And EXE is set as follows:
putting SynergyInteropLibrary.dll into either folder (either exe2 or exe) works. Based on the documentation it seems like only exe2 should work.
Who is wrong here?