I have a custom library that I've built and put into a \Lib directory under the smallbasic install directory.
If I create a new file in small basic I can use statement completion to find the methods of my library successfull.
If I then run it without saving I get an error dialog "The type initializer for 'MyLibrary.MyClass' threw an exception.
If, however, I save the file first, it works. I notice that when I save the document, all of my libraries get copied into that directory. I wonder if there is a but where SmallBasic isn't properly copying the libraries into the temporary location it uses when the document isn't saved?