On Tuesday I blogged about the recent release of the ASP.NET MVC 3 RC build. You can read more about it here.
This post is a quick follow-up post that discusses a few installation issues that we’ve seen people run into - and how to fix them:
ASP.NET MVC 3 RC and C#/VB Async CTP
Two weeks ago the VS languages team released an early preview of some cool language improvements to VB and C# that we are working on for asynchronous programming. Unfortunately it isn’t possible to have both the Async CTP and the ASP.NET MVC 3 RC installed on the same machine at the same time. You instead need to choose one or the other right now – installing both will cause problems.
If you’ve already installed the Async CTP and want to install the ASP.NET MVC 3 RC, then you need to use Add/Remove Programs and uninstall the Async CTP. Once it is uninstalled, then you can safely install the ASP.NET MVC 3 RC build on your machine without problems.
If you’ve already installed both the Async CTP and ASP.NET MVC 3 RC on the same machine, then you will likely experience issues in VS with debugging (and potentially other things) not working. To fix this, go to Add/Remove Programs and uninstall both the ASP.NET MVC 3 RC build (including the VS Tools components for it) and the Async CTP. Once you’ve uninstalled both your machine will be back to a clean state and working fine. You can then choose to install either the Async CTP or ASP.NET MVC 3 RC and it will work fine.
Update: Drew Miller from the ASP.NET team has a good blog post here that covers how to uninstall all the pieces of ASP.NET MVC 3 RC.
Razor Intellisense and Resharper
ReSharper is a popular product from JetBrains that enhances Visual Studio’s intellisense and code editing features. If you have ReSharper installed and want to take advantage of the Razor intellisense support we added to the ASP.NET MVC 3 RC build, please read this blog post from JetBrains which discusses ways to use them together today.
NuPack/NuGet Schema and Feed Updates
We’ve made some schema and feed modifications to NuGet since the original preview release of it that will prevent you from updating packages that were added with the original preview build. When updating to the ASP.NET MVC 3 RC, you’ll need to delete your existing packages and re-add them to your project to account for this. You can do this by deleting the packages from disk, and then run the install-package command again.
Hope this helps,
P.S. In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu