views:

104

answers:

2

Can I compile an ASP.NET 4 application, and run this on a server with ASP.NET 3.5 installed?

I have seen this method for ASP.NET 3.5 MVC running on servers with only 2.0 installed: Is it possible to run an ASP.NET 3.5 MVC 1.0 application on a server that supports ASP.NET 2.0 only?

+3  A: 

Nope. The .NET 3.5 runtime is the same as the .NET 2.0. The .NET 4.0 runtime is new

mcintyre321
Thank you for the info!
frank
A: 

In VS you can set up any framework version number as the target - including 3.5

mfeingold
that doesn't mean you can use the language features from .net 4 in .net 3.5 however
mcintyre321
That's right, but you can use nice new features of the development environment and still target the old runtime
mfeingold