0

When I create a new project. The "create a unit test project" isn't available to be pressed. Whats wrong?

I am using visual studio 2010 ultimate

3
  • Is the command missing entirely, or just grayed out? Did you install the unit testing functionality when you installed Visual Studio? Commented Jan 15, 2012 at 13:32
  • Do you know that you could write unit tests without "unit test project" take a look on NUnit (nunit.org) and Mbunit (gallio.org) Commented Jan 15, 2012 at 13:34
  • it is grayed out. I installed the program as usuall.. i did full install.. I can generate a unit test as described here: msdn.microsoft.com/en-us/library/ms182526%28v=vs.80%29.aspx But i can see it when i create a new project Commented Jan 15, 2012 at 13:39

1 Answer 1

1

I'm not sure where this menu item is that you are trying to use, but we always add unit test projects by right-clicking on the solution, choosing Add then New Project.... Then we select the Test section under Visual C# and the Test Project item on the right-hand side.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.