<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Updated NUnit Templates for ASP.Net MVC 1.0 RTM</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx</link><description>ASP.Net MVC 1.0 RTM has been out for a while and I noticed that people are still downloading an NUnit sample project I created for ASP.Net MVC Preview 3. Since then an AccountController class and a corresponding set of unit tests have been added to the</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Updated NUnit Templates for ASP.Net MVC 1.0 RTM</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9848703</link><pubDate>Sun, 26 Jul 2009 02:39:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9848703</guid><dc:creator>Ryon Day</dc:creator><description>&lt;p&gt;So after some investigation, I appear to have fixed this. I had the newest version of NUnit downloaded, and searched for 'nunit' in the project definition, and found this:&lt;/p&gt;
&lt;p&gt;&amp;lt;Reference Include=&amp;quot;nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;I replaced this with an analogous nunit reference in a project in which I had set up the reference myself:&lt;/p&gt;
&lt;p&gt;&amp;lt;Reference Include=&amp;quot;nunit.framework, Version=2.5.1.9189, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;I had to replace the references in the template directory as well as the template cache directory (this was key). The question being is whether or not I have to change the reference again every time I upgrade nunit versions. Would changing the reference declaration to something like &lt;/p&gt;
&lt;p&gt;&amp;lt;Reference Include=&amp;quot;nunit.framework /&amp;gt; &lt;/p&gt;
&lt;p&gt;work as well?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9848703" width="1" height="1"&gt;</description></item><item><title>re: Updated NUnit Templates for ASP.Net MVC 1.0 RTM</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9848677</link><pubDate>Sun, 26 Jul 2009 01:52:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9848677</guid><dc:creator>Ryon Day</dc:creator><description>&lt;p&gt;Installed this and I can make a test project, but it seems to have a faulty link to 'nunit.framework' (there is a yellow exclamation mark warning sign next to it). I have NUnit installed, but perhaps not in the directory expected by these templates? Where is it supposed to be?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9848677" width="1" height="1"&gt;</description></item><item><title>re: Updated NUnit Templates for ASP.Net MVC 1.0 RTM</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9846838</link><pubDate>Fri, 24 Jul 2009 01:09:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9846838</guid><dc:creator>joecar1</dc:creator><description>&lt;p&gt;Hi Michael, &lt;/p&gt;
&lt;p&gt; Thank you for pointing this out. I just uploaded a fix for this issue so that the test directory will be created if it does not exist already. I was doing this for Express but now I do this for all skus. If anybody else has trouble with installing on the STD sku, feel free to ping me at joecar at microsoft dot com.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9846838" width="1" height="1"&gt;</description></item><item><title>re: Figured Out Installation Problem</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9846753</link><pubDate>Thu, 23 Jul 2009 23:42:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9846753</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Apparently, if you don't have a Test directory present in &lt;/p&gt;
&lt;p&gt;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\CSharp and VisualBasic&lt;/p&gt;
&lt;p&gt;...it won't properly copy the zip file (just creates a Test file with nothing in it and no extension).&lt;/p&gt;
&lt;p&gt;I hope this saves someone else a lot of frustration.&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9846753" width="1" height="1"&gt;</description></item><item><title>No Errors Installing but no NUnit in VS Either</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9846723</link><pubDate>Thu, 23 Jul 2009 23:03:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9846723</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;I am having no luck getting this installed on Windows XP and Visual Studio 2008 Standard. &amp;nbsp;I downloaded and installed NUnit 2.5.1. &amp;nbsp;Then I ran NUnit Test Template installer above. &amp;nbsp;Then I rebooted, opened Visual Studio 2008, created a new MVC Project, and no unit test dialog appeared. &amp;nbsp; No errors appeared during any installation.&lt;/p&gt;
&lt;p&gt;Anyone have any ideas? &amp;nbsp;It doesn't seem like it should be this hard.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9846723" width="1" height="1"&gt;</description></item><item><title>re: Updated NUnit Templates for ASP.Net MVC 1.0 RTM</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9836940</link><pubDate>Fri, 17 Jul 2009 11:42:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9836940</guid><dc:creator>Michel</dc:creator><description>&lt;p&gt;Does this template is still valid with the ASP.NET MVC 1.0 release ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9836940" width="1" height="1"&gt;</description></item><item><title>How to add NUnit as a test framework option to the ASP.NET MVC 1.0 dialog for VS2008</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9792843</link><pubDate>Sat, 20 Jun 2009 07:22:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9792843</guid><dc:creator>The Complete Dan Hounshell</dc:creator><description>&lt;p&gt;There are much longer more detailed ways involving editing the registry, running &amp;quot;devenv ...&amp;quot; command&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9792843" width="1" height="1"&gt;</description></item><item><title>How to add NUnit as a test framework option to the ASP.NET MVC 1.0 dialog for VS2008</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9792793</link><pubDate>Sat, 20 Jun 2009 06:50:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9792793</guid><dc:creator>Digging My Blog - Dan Hounshell</dc:creator><description>&lt;p&gt;There are much longer more detailed ways involving editing the registry, running &amp;quot;devenv ...&amp;quot; command&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9792793" width="1" height="1"&gt;</description></item><item><title>re: Updated NUnit Templates for ASP.Net MVC 1.0 RTM</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9777286</link><pubDate>Thu, 18 Jun 2009 23:11:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9777286</guid><dc:creator>Adil Faisal</dc:creator><description>&lt;p&gt;I was running the installNUnit.cmd from the VS2005 command shell. THat makes it choose wrong DevEnvDir (i.e. it chooses VS2005 as the IDE rather than the VWD). Running the script from regular cmd prompt solved the problem.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9777286" width="1" height="1"&gt;</description></item><item><title>re: Updated NUnit Templates for ASP.Net MVC 1.0 RTM</title><link>http://blogs.msdn.com/b/webdev/archive/2009/04/28/updated-nunit-templates-for-asp-net-mvc-1-0-rtm.aspx#9756038</link><pubDate>Tue, 16 Jun 2009 00:38:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9756038</guid><dc:creator>AntiAliasing</dc:creator><description>&lt;p&gt;Error with Vista X64 and VS 2008 Express, looks like there is an issue what a path. This is what I get when I try to execute installNUnit.cmd (as Administrator):&lt;/p&gt;
&lt;p&gt;c:\NUnitRTM&amp;gt;installNUnit.cmd&lt;/p&gt;
&lt;p&gt;c:\NUnitRTM&amp;gt;setlocal&lt;/p&gt;
&lt;p&gt;c:\NUnitRTM&amp;gt;Set CopyFrom=c:\NUnitRTM\&lt;/p&gt;
&lt;p&gt;\Microsoft was unexpected at this time.&lt;/p&gt;
&lt;p&gt;c:\NUnitRTM&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Set DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9756038" width="1" height="1"&gt;</description></item></channel></rss>