I'm injected into WoW and Apoc's DomainManager code is doing a fine job, until it comes to unloading the AppDomain. Whenever I have a Windows Forms GUI loaded, it throws the above exception. I've seen a few threads from googling, which say that you can fix it using the STAThread attribute. I've tried that and been unsuccessful. I'm sure I'm not the first person to encounter this issue.