vrakeshreddy / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

ASP.NET MVC Test Framework Template Not Installed #547

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Install
http://mb-unit.googlecode.com/files/GallioBundle-3.1.313.0-Setup-x86.msi on
Windows XP SP2
2. Look in the Windows Registry and observe none of the steps are done to
load the test template into Visual Studio as the following MSDN help
article says it should:
http://msdn.microsoft.com/en-us/library/dd381614%28VS.100,loband%29.aspx
3. According to Andy Stopford's blog, this is supposed to be a feature of
the installer
http://weblogs.asp.net/astopford/archive/2008/03/10/microsoft-mvc-and-mbunit.asp
x

Am I missing something?  Is this a regression from the latest installer
build of Gallio?

Original issue reported on code.google.com by johnzabr...@gmail.com on 25 Sep 2009 at 6:35

GoogleCodeExporter commented 9 years ago
I forgot to mention this is on Visual Studio 2008.

Original comment by johnzabr...@gmail.com on 25 Sep 2009 at 7:33

GoogleCodeExporter commented 9 years ago
Another correction.

The installer does install things, but they don't talk to other templates.

When creating an ASP.NET MVC 2 Preview app via Visual Studio Project Template
"ASP.NET MVC 2 Web Application", the MbUnit template does not show up as an 
option.

Original comment by johnzabr...@gmail.com on 25 Sep 2009 at 7:36

GoogleCodeExporter commented 9 years ago
Used to work.  Let's take a look.

Original comment by jeff.br...@gmail.com on 29 Sep 2009 at 7:14

GoogleCodeExporter commented 9 years ago
The current test project templates are presently registered in 
"KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\MVC\TestProjectTemplates"
. It 
works fine for ASP.NET MVC 1, but it seems that ASP.NET MCV 2 requires that the 
same 
key be in 
"KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\MVC2\TestProjectTemplates
" 
instead (notice the extra "2" after "MVC"). 

I'm going to fix that.

Original comment by Yann.Tre...@gmail.com on 2 Oct 2009 at 9:05

GoogleCodeExporter commented 9 years ago
Should be fixed in 3.2.124.0 and later.

Original comment by Yann.Tre...@gmail.com on 2 Oct 2009 at 9:12

GoogleCodeExporter commented 9 years ago
Meanwhile, merging the missing keys in the registry should work too (see 
attached file)

Original comment by Yann.Tre...@gmail.com on 2 Oct 2009 at 9:16

Attachments:

GoogleCodeExporter commented 9 years ago
I backported the fix to v3.1, so it should work in 3.1.340.0+.

Original comment by Yann.Tre...@gmail.com on 2 Oct 2009 at 11:19