I need to use some WPF components in an NUnit unit test. I run the test through ReSharper, and it fails with the following error when using the WPF object:
S
You should add the RequiresSTA attribut to your test class.
[TestFixture, RequiresSTA] public class MyTestClass { }