Changing the ASP.NET Target Framework in Visual Web Developer

A very handy feature most people don’t know about with Visual Web Developer 2010 Express is that you can change the target framework from .NET 4.0 to 3.5, 3.0 or 2.0.

By default Visual Web Developer 2010 will be set to .NET Framwork 4.0 but if you are in a situation where you have one server, possibly Windows Server 2003 that runs on .NET 3.5 and another server, possibly Windows Server 2008 that is running on .NET 4.0. Being able to target these different frameworks is very useful.

Just right click on your solution in your solution explorer in Visual Web Developer and click on Property Pages. There will be a Build option and then within that you can select your target framework.

Just rebuild your website and away you go. 😉

Advertisements

Published by

Alan Feekery

Developer, Gamer, Musician, Cyclist and big Motorsport fan... enjoys the odd cup of coffee :)

3 thoughts on “Changing the ASP.NET Target Framework in Visual Web Developer”

  1. All looks very cool, well usually I prefer to build everything from scratch, but sometimes can find some excellent ideas using wizards.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s