By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,052 Members | 1,303 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,052 IT Pros & Developers. It's quick & easy.

NUnit VS 2005 Pro and Express

P: n/a
I'm pulling my hair out here.... Trying to get a simple NUnit project
working. I just created two new virtual machines in Virtual PC, one with VS
2005 Pro and the other with Visual C# Express Edition. In both VMs I
downloaded and installed NUnit 2.2.8. In both VMs I commented out <startup>
so that
<supportedRuntime version="v2.0.50727">
is at at the top of the list.

In both VMs NUnit doesn't work. It seems to ignore my [TestFixture] and
[Test] attributes.

I used NUnit in VS 2003, and recently moved to VS 2005. I appreciate any
help / URLs to get NUnit working in VS 2005.

Thanks.

-- Mark

Sep 26 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Mark Jerde wrote:
I'm pulling my hair out here.... Trying to get a simple NUnit project
working. I just created two new virtual machines in Virtual PC, one with VS
2005 Pro and the other with Visual C# Express Edition. In both VMs I
downloaded and installed NUnit 2.2.8.

In both VMs I commented out <startup>
so that
<supportedRuntime version="v2.0.50727">
is at at the top of the list.
I am not sure why you need to do that, I don't need to anything special
when I installed NUnit2.2.8 to work with VS 2005.
In both VMs NUnit doesn't work. It seems to ignore my [TestFixture] and
[Test] attributes.
Can you explain what makes you feel that way..
>
I used NUnit in VS 2003, and recently moved to VS 2005. I appreciate any
help / URLs to get NUnit working in VS 2005.

Thanks.

-- Mark
Sep 26 '06 #2

P: n/a
The problem was 100% user error. I left off "public" on the class
declaration line. Works fine now.

-- Mark

"Jianwei Sun" <js***********@gmail.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Mark Jerde wrote:
>I'm pulling my hair out here.... Trying to get a simple NUnit project
working. I just created two new virtual machines in Virtual PC, one with
VS 2005 Pro and the other with Visual C# Express Edition. In both VMs I
downloaded and installed NUnit 2.2.8.


In both VMs I commented out <startup>
>so that
<supportedRuntime version="v2.0.50727">
is at at the top of the list.

I am not sure why you need to do that, I don't need to anything special
when I installed NUnit2.2.8 to work with VS 2005.
>In both VMs NUnit doesn't work. It seems to ignore my [TestFixture] and
[Test] attributes.

Can you explain what makes you feel that way..
>>
I used NUnit in VS 2003, and recently moved to VS 2005. I appreciate any
help / URLs to get NUnit working in VS 2005.

Thanks.

-- Mark

Sep 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.