Monday, July 13, 2009

Using supportedRunTime Attribute.

we can configure our application to run under some specific version of .net framework.

If we won't provide this Attrubute.Runtime Will Automatically decide using
some predefined rules.

Rule-1: If version in which application is Build is present Application
Will run with that Version.

Rule-2:If version in which application is Build is NOT present.Then
Runtime will search for supportedRunTime attrubute.

a).if Attribute is NOT
present it will run With latest version available on the machine.

Rule-3:If version in which application is Build is NOT present.And
supportedRunTime is present in configuration file.

a).application will run
with version specified in supportedRunTime attribute.

This is how to specity Supported Runtime version in Configuration File.
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>

No comments:

Post a Comment

Comments posted on ASP.Net Ajax Tutorials Blog are moderated and will be approved only if they are on-topic and not abusive. Please email me or my team for tech-support or blogging related questions. Avoid including website URLs in your comments - Thanks Author