D
David Thielen
Hi;
I have some simple nunit tests for my forms. When I run nunit from Visual
Studio they run fine. But when I use the nunit command line app to tun it I
get the following:
21) net.windward.autotag.controls.TestTagEditor.TestSet :
System.Threading.ThreadStateException : ActiveX control
'8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the
current thread is not in a single-threaded apartment.
at System.Windows.Forms.WebBrowserBase..ctor(String clsidString)
at System.Windows.Forms.WebBrowser..ctor()
at net.windward.autotag.controls.ImportControl.InitializeComponent() in
C:\src\kahuna\AutoTag\AutoTagCore\net\windward\autotag\controls\ImportControl.Designer.cs:line 34
at net.windward.autotag.controls.ImportControl..ctor() in
C:\src\kahuna\AutoTag\AutoTagCore\net\windward\autotag\controls\ImportControl.cs:line 23
at net.windward.autotag.controls.TagEditor.InitializeComponent() in
C:\src\kahuna\AutoTag\AutoTagCore\net\windward\autotag\controls\TagEditor.Designer.cs:line 557
at net.windward.autotag.controls.TagEditor..ctor(IFramework app,
TagPosition tagPos) in
C:\src\kahuna\AutoTag\AutoTagCore\net\windward\autotag\controls\TagEditor.cs:line 134
at net.windward.autotag.controls.TestTagEditor.TestSet() in
C:\src\kahuna\AutoTag\TestCore\net\windward\autotag\controls\TestTagEditor.cs:line 266
What's going on and what do I need to do to let these tests run from the
command line?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
I have some simple nunit tests for my forms. When I run nunit from Visual
Studio they run fine. But when I use the nunit command line app to tun it I
get the following:
21) net.windward.autotag.controls.TestTagEditor.TestSet :
System.Threading.ThreadStateException : ActiveX control
'8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the
current thread is not in a single-threaded apartment.
at System.Windows.Forms.WebBrowserBase..ctor(String clsidString)
at System.Windows.Forms.WebBrowser..ctor()
at net.windward.autotag.controls.ImportControl.InitializeComponent() in
C:\src\kahuna\AutoTag\AutoTagCore\net\windward\autotag\controls\ImportControl.Designer.cs:line 34
at net.windward.autotag.controls.ImportControl..ctor() in
C:\src\kahuna\AutoTag\AutoTagCore\net\windward\autotag\controls\ImportControl.cs:line 23
at net.windward.autotag.controls.TagEditor.InitializeComponent() in
C:\src\kahuna\AutoTag\AutoTagCore\net\windward\autotag\controls\TagEditor.Designer.cs:line 557
at net.windward.autotag.controls.TagEditor..ctor(IFramework app,
TagPosition tagPos) in
C:\src\kahuna\AutoTag\AutoTagCore\net\windward\autotag\controls\TagEditor.cs:line 134
at net.windward.autotag.controls.TestTagEditor.TestSet() in
C:\src\kahuna\AutoTag\TestCore\net\windward\autotag\controls\TestTagEditor.cs:line 266
What's going on and what do I need to do to let these tests run from the
command line?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm