How will you specify what version of the framework your application is targeting?

 Posted by Tripati_tutu on 10/21/2010 | Category: ASP.NET Interview questions | Views: 4078 | Points: 40

In Asp.Net 4.0 a new element "targetFramework" of compilation tag (in Web.config file) lets you specify the framework version in the web.config file as

<?xml version="1.0"?>

<compilation targetFramework="4.0" />

It only lets you target the .NET Framework 4.0 and later versions.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response