Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

<startup> Element

Contains the <requiredRuntime> element.


<startup> 
</startup>

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

<requiredRuntime>

Specifies that the application supports only version 1.0 of the common language runtime. Applications built with runtime version 1.1 should use the <supportedRuntime> element.

<supportedRuntime>

Specifies which versions of the common language runtime the application supports.

Parent Elements

Element Description

configuration

The root element in every configuration file used by the common language runtime and .NET Framework applications.

The <supportedRuntime> element should be used by all applications built using version 1.1 or later of the runtime. Applications built to support only version 1.0 of the runtime must use the <requiredRuntime> element.

The startup code for an application hosted in Microsoft Internet Explorer ignores the <startup> element and its child elements.

The following example shows how to specify the runtime version in a configuration file.

<!-- When used with version 1.0 of the .Net runtime -->
<configuration>
   <startup>
      <requiredRuntime version="v1.0.3705" safemode="true"/>
   </startup>
</configuration>
<!-- When used with version 1.1 (or later) of the .Net runtime -->
<configuration>
   <startup>
      <supportedRuntime version="v1.1.4322"/>
      <supportedRuntime version="v1.0.3705"/>
   </startup>
</configuration>

Community Additions

Show: