user496949
user496949

Reputation: 86085

deploy mvc2 application to IIS7

Do I need to create a application pool which supports .net framework 4.0?

Upvotes: 1

Views: 1912

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038790

This will depend on the framework version your MVC application is targeting. So if you application is targeting .NET 4.0 the application pool must be set to use CLR 4.0. If your application is targeting .NET 3.5 the application pool must be set to use CLR 2.0. Here's an article covering the various deployment scenarios.

Upvotes: 4

Related Questions