all posts

How to add NUnit as a test framework option to the ASP.NET MVC 1.0 dialog for VS2008

Published to Blog on 19 Jun 2009

There are much longer more detailed ways involving editing the registry, running “devenv …” command-line stuff, etc. This is by far the fastest and easiest way:

0.a. Make sure you have the ASP.NET MVC 1.0 Framework installed. I’m a dummy and still had the Beta installed and was surprised when the project wouldn’t build. Then I realized my blunder.

0.b. Close any open instances of Visual Studio 2008 

1. Go to this URL: http://blogs.msdn.com/webdevtools/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx

2. Click on the “NUnit Test Templates” link. Download the zipped file.

3. Unzip the file.

4. Run the installNUnit.cmd file.

That’s it. Done. Enjoy.


Dan Hounshell
Web geek, nerd, amateur maker. Likes: apis, node, motorcycles, sports, chickens, watches, food, Nashville, Savannah, Cincinnati and family.
Dan Hounshell on Twitter