According to Professional ASP.NET MVC 1.0, page 8, \"If you are using VS 2008 Standard Edition or Visual Web Developer 2008 Express you will need to download and instal
Edit: There's an easier solution below.
I got the Create Unit Test Project dialog working with NUnit and Visual Web Developer Express. I had to add an NUnit test template to the following location: %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress\ProjectTemplates\CSharp\Test\1033
(I had to create the Test\1033
subfolders).
Then I ran VWDExpress /setup
per Craig Stuntz's recommendation (from %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE
).
And it worked!
Note: I had previously added registry settings from here but applied them to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VWDExpress\9.0\MVC\TestProjectTemplates
.
For your convenience, here are the differences from the ASP.NET MVC Test Framework Integration Walkthrough article:
Step 1. Copy the template zip files to %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress\ProjectTemplates\CSharp\Test\1033
(note the VWDExpress folder)
Step 2. Before merging the registry file(s), edit them to point to the appropriate location under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VWDExpress\9.0\MVC\TestProjectTemplates
(note the VWDExpress key)
Step 4. Run VWDExpress /setup
instead of devenv /setup