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 173695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:23:20+00:00 2026-05-11T13:23:20+00:00

Does anyone have any advice/information on how to install nUnit with ASP.Net MVC? I

  • 0

Does anyone have any advice/information on how to install nUnit with ASP.Net MVC? I have seen previous posts which related to the preview releases and involved a ghoulish nightmare of having to create template files, run command prompt and even mess with the registry.

Obviously this is far from ideal and given Microsoft’s intention to allow any testing framework I was hoping that it was a much improved process in the full release. Googling seems to return results from when MVC was in the preview stage though! This is for Visual Studio 2008 Pro.

Cheers 🙂

Edit: Seems maybe not: http://msdn.microsoft.com/en-us/library/dd381614.aspx

Edit 2:: Ok found this: http://blogs.msdn.com/webdevtools/archive/2008/05/30/asp-net-mvc-preview-3-tooling-updates.aspx – They offer some templates and after installing the batch file it appears to show up in the drop down list when adding a new MVC application. However it was designed for the preview release of MVC so it’s not ideal. Again, anyone who has better advice please post 🙂

  • 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. 2026-05-11T13:23:20+00:00Added an answer on May 11, 2026 at 1:23 pm

    Download it here and follow the steps in the read me file to install it.

    Here’s the overview of how I did it.

    1. Unzip the MVC test project template that comes with visual studio, MvcWebApplicationTestProjectTemplatev1.cs.zip.
    2. Changed HomeController.cs and AccountController.cs files to the NUnit syntax, such as, [TestClass] to [TestFixture], etc….
    3. Updated the references in MvcApplicationTest.csproj to for NUnit.Framework.
    4. Tweaked the MvcWebApplicationTestProjectTemplate.cs.vstemplate file changing NamePackage, Description, Icon Package, and Defaut Name.

    Once you get it zipped back up you will need to open up the Visual Studio Command Prompt and type devenv /setup to register the template with visual studio.

    You will need to create a registry entry so visual studio knows where the new template lives.

    If I ever get a blog I will be happy to update my answer with a detailed post. It’s a little involved to put it here…Goolish ain’t the word :).

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

Sidebar

Related Questions

Does anyone have any useful advice/links to information about working with mp3 files in
Does anyone have any advice on which method is better when caching data in
Does anyone have any advice for migrating a PowerBuilder 10 business application to .NET?
Does anyone have any advice or techniques for deploying SSIS packages to the Integration
Does anyone have any advice how to write such app? Or maybe knows some
Does anyone have any good advice or experience on how to create an engine
DOes anyone have any good information with regards to when to log, I was
Does anyone have any advice on keeping logic out of my GUI classes? I
Does anyone have any advice on fixing Passenger's slow initial load on a shared
Does anyone have any advice on creating a copy to clipboard function that works

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.