There is something strange about how this library is managed. For some reason it seems to work if the VI is part of a project, but not as a standalone VI.
Standalone
As part of a project
I did not reproduce the entire example, so it might fail. At least you can try adding your VI to a project and see if it works (make sure the assembly is listed under Dependencies).