문제

I need to have SpecFlow generate NUnit Tests with the RequiresSTA attribute. How can I do that?

도움이 되었습니까?

해결책

The autogenerated xxx.feature.cs file has a partial class definition. Simply create an xxxFeature.cs with another partial class that has the attribute on it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top