<Directives> Element (.NET Native)

The root element in every runtime directives file for .NET Native.

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">

Syntax

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
   <!-- child elements -->
</Directives>

Attributes

Attribute Description
xmlns The XML namespace. Its value is always http://schemas.microsoft.com/netfx/2013/01/metadata.

Child elements

Element Description
<Application> Serves as a container for application-wide types and type members whose metadata is available for reflection.
<Library> Defines the assembly whose child types and type members require metadata at run time.

Remarks

Each runtime directives file can contain only one <Directives> element.

The <Directives> element can contain zero or one <Application> element, and zero, one, or more <Library> elements.

See also