Ok, I feel really stupid, but I am stuck. I've never tried to create a DLL that I can reference from my own scripts until now, so I'm probably missing something simple.
I've got a DLL (say, Snevl.dll) that I've built and put in /bin/Snevl.
In settings.ini, I've added this to the end of the "ScriptingReferences="
Snevl;C:\Program Files\Homeseer 2\Bin\Snevl\Snevl.dll
In my VB.NET script, my first line is:
IMPORTS Snevl
When I try and run the script, I get this in the error log (with lots of other stuff):
Scripting runtime error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Snevl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=edf3d6c92ee55902' or one of its dependencies.
Go ahead, make me feel stupid. What am I doing wrong?
Steve
I've got a DLL (say, Snevl.dll) that I've built and put in /bin/Snevl.
In settings.ini, I've added this to the end of the "ScriptingReferences="
Snevl;C:\Program Files\Homeseer 2\Bin\Snevl\Snevl.dll
In my VB.NET script, my first line is:
IMPORTS Snevl
When I try and run the script, I get this in the error log (with lots of other stuff):
Scripting runtime error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Snevl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=edf3d6c92ee55902' or one of its dependencies.
Go ahead, make me feel stupid. What am I doing wrong?
Steve
Comment