We have some code that uses XamlReader.Load, however when Resharper runs a test that exercises this code, it fails with the exception:
System.InvalidOperationException: The calling thread must be STA, because many UI components require this.
NUnit can be configured to run in an STA thread, however I don't see any similar way of doing this in Resharper. Is this possible? If so, how?