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
With more recent versions, the attribute has changed :
[Apartment(ApartmentState.STA)] public class MyTestClass {}