Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1101437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:02:09+00:00 2026-05-17T01:02:09+00:00

Maybe I am just forgetting something, but I cannot seem to get NUnit to

  • 0

Maybe I am just forgetting something, but I cannot seem to get NUnit to work in Visual Studio 2008 Standard Edition. I am trying to use NUnit 2.5.7 in a C# class library project. I am following the structure of the samples given in the download of NUnit.

Here are the steps I am doing
1) Download and install NUnit 2.5.7
2) Create C# class library project
3) Add reference of NUnit.Framework to my project
4) Create a class
5) Add “using NUnit.Framework”
6) Add [TestFixture] at top of my class from step 3

The issue comes at step 6, Visual Studio does not recognize the TestFixtureAttribute or the TestAttribute at all.
The samples included with the NUnit download simply have the using statement in step 5, and the [TestFixture]. What am I missing?

using System;
using NUnit.Framework;

namespace UnitTests
{
    [TestFixture]
    public class MyUnitTests
    {

        [Test]
        public void TestMethod1()
        {
            //my unit test
        }    

    }
}

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:02:09+00:00Added an answer on May 17, 2026 at 1:02 am

    Can you veiw the NUnit.Framework in the object browser?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Very simple questions guys, but maybe I'm just forgetting something. In 64bit linux, a
Doesn't seem to work for me, maybe I just doing it wrong
Maybe I just can't figure out the right keywords to get an answer out
Maybe I just haven't figured out the InfoPath paradigm yet, but any links, or
I'm interested in texture streaming in DirectX but google seems unhelpful. Maybe I just
Maybe I am just falling asleep (or not!), but how can you do this:
Maybe I'm just not seeing it, but is there any other way to access
That's important for good documentation, but currently it just doesnt work well. If I
Maybe I just don't know enough about structs and have been using them blindly
I'am new to extJS and maybe I just don't know the correct strategy, so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.