I tried to adapt my project to the latest version on Trunk, but activating the extension leads to a series of InvalidOperationExceptions (illegal cross thread call). I tried to wrap some of the functionality in
```
if (xxx.InvokeRequired)
xxx.Invoke(new MethodInvoker(() => { doSomething(); });
else
doSomething();
```
but that did not work, as not all components are controls.
Comments: ** Comment from web user: shieldst **
```
if (xxx.InvokeRequired)
xxx.Invoke(new MethodInvoker(() => { doSomething(); });
else
doSomething();
```
but that did not work, as not all components are controls.
Comments: ** Comment from web user: shieldst **
Felix, can you attach the exception itself as well possibly? Thanks!