Asp – Using .NET 4.0 for development server

asp.netasp.net-4.0netvisual studio

My ASP.NET application runs on IIS on my web server and uses Microsoft .NET Framework 4 Beta 2. (Its Application Pool is set to .NET Framework version .NET Framework v4.0.21006.)

I debug on my development machine using the ASP.NET Development Server that comes with Visual Studio.

How do I make my development machine also use .NET 4.0 ?

Best Answer

Shouldn't you just need to install .Net 4.0 on the dev machine and point your web.config to it?

Mod the Config..

http://msdn.microsoft.com/en-us/library/yy40ytx0(VS.100).aspx

This should shed more light on the topic as well..

http://blogs.msdn.com/webdevtools/archive/2009/06/06/multi-targeting-of-web-projects-using-visual-studio-2010-beta1.aspx