The thread which runs the code in the IDE is set to "single thread apartment".
Maybe the problem is caused due to the fact that there is another thread (the main thread in the IDE) that is STA in the same process.
For now you will only be able to use this library with the optimized compiler.
|