ASP.NET MVC Release Candidate 2 is live! Check out Phil Haack’s blog, Haacked.com, for information on the new installer and some other general release info. The release is mostly focused on responding to customer feedback but there are some minor tooling improvements and bug fixes that are worth calling out.
Tooling Improvements And Important Fixes
Known Issue Adding a Silverlight Application
When creating a new Silverlight Application by adding a new ASP.NET MVC Web Project to the solution to host Silverlight, an error appears stating that the project is unavailable. The error only occurs when creating a new Silverlight Application with ASP.NET MVC Web Project selected as the project type. This will be fixed for ASP.NET MVC RTM.
The ASP.NET MVC installer registers the location of the ASP.NET MVC project templates so that ASP.NET MVC projects can host Silverlight Applications. The ASP.NET MVC project template names were updated for RC 2 and need to be updated in the registry to add a Silverlight Application to an MVC project:
C#
Add ‘v1‘ to the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{CB22EE0E-4072-4ae7-96E2-90FCCF879544}\SupportedWebProjects\MVCWebApplication\C#]
Update value to: CSharp\Web\{lcid}\MvcWebApplicationProjectTemplatev1.cs.zip\MvcWebApplicationProjectTemplate.cs.vstemplate
Note: On x64 the key is in the WOW node:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Packages\{CB22EE0E-4072-4ae7-96E2-90FCCF879544}\SupportedWebProjects\MVCWebApplication\C#]
Visual Basic
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{CB22EE0E-4072-4ae7-96E2-90FCCF879544}\SupportedWebProjects\MVCWebApplication\VB]
Update value to: VisualBasic\Web\{lcid}\MvcWebApplicationProjectTemplatev1.vb.zip\MvcWebApplicationProjectTemplate.vb.vstemplate
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Packages\{CB22EE0E-4072-4ae7-96E2-90FCCF879544}\SupportedWebProjects\MVCWebApplication\VB]
Hope This Helps!
Joe Cartano | Visual Web Developer
PingBack from http://aspdotnetmvc.com/buzz/default.aspx
Potete scaricare la RC 2 di ASP.NET MVC a questo link . Alcune correzioni di piccoli bug e modifiche:
Thanks for the new release! I hope we will have RTM very soon :)
I've installed .NET MVC rc2 on an XP machine with visual web developer 2008 express edition SP1 with .net 3.5 sp1
But when i go to create a new project or website there is no option for creating an MVC project, any ideas?
Thanks,
infoATsocialaddictDOTcoDOTuk
@Andi
Can you try tools->options->reset settings
Also, I would like to get in touch with you about this issue. Can you please contact me at joecar at microsoft dot com so that I can investigate?
I'm having exactly the same problem as Andi G. Just installed VWD 2008 SP1, ASP.NET MVC 1.0, .NET 3.5 SP1, all via the Web Platform installer. But when I try to open a new project, there's no option for "ASP.NET MVC Web Application under C# > Web type or VB > Web type (all the other expected templates are there). Any ideas?
Andy
Actually, I just found the problem, thanks to post by jeloff at http://forums.asp.net/t/1395911.aspx. I had to uninstall ASP.MVC and then reinstall it. Apparently it must be installed after VWD, and apparently the Web Platform installer does not install in this order. After uninstall/re-install of ASP.MVC 1, it works fine.