"Operation is not valid..." error
Hi. First or all thanks for this library. It's easy to use and it works.
My users are reporting this error the first time they try to switch virtual desktops while running my program.
"Operation is not valid due to the current state of the object."
To give you context, for my main window I added a listener to your virtual desktop current changed event to move my main window to the new current virtual desktop.
Users report that after restarting the error never occurs again. However I was wondering if there is any way to solve the root cause of the error.
Here us a user's screenshot of the stack trace. Thanks.
https://cloud.githubusercontent.com/assets/2855069/12716357/c4432014-c8d7-11e5-9197-2660a4c1459a.png
It seems to be happening at:
WindowsDesktop.WindowsExtensions.GetHandle(Visual window)