A few quick ASP.NET MVC 3 Installation Notes
page 1 of 1
Published: 11 Nov 2010
Unedited - Community Contributed
Abstract
In this article, Scott examines few installation tips associated with ASP.NET MVC 3 and C#/VB Async CTP. He also examines the usage of Resharper, NuPack/NuGet Schema and Feed Updates.
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 8511/ 20

Introduction

Republished with Permission - Original Article

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,

Scott

Follow me at: twitter.com/scottgu

Resources

Scott Guthrie

AspAdvice Forums

AspAdvice Mailing Lists



User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 4:53:00 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search