RequiredFrameworkVersion Element (Visual Studio Templates)
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at RequiredFrameworkVersion Element (Visual Studio Templates).
Specifies the minimum .NET Framework version that is required by the template.Schema Hierarchy.
<VSTemplate>
<TemplateData>
<RequiredFrameworkVersion>
<RequiredFrameworkVersion> .... </RequiredFrameworkVersion>
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
None.
Parent Elements
| Element | Description |
|---|---|
| TemplateData | Required element. Categorizes the template and defines how it is displayed in either the New Project or the Add New Item dialog box. |
A text value is required.
The text must be the minimum version number of the .NET Framework that is required for the template.
RequiredFrameworkVersion is an optional element. Use this element if the template only supports a specific minimum version, and later versions if any, of the .NET Framework.
Visual Studio Template Schema Reference
Creating Project and Item Templates
Targeting a Specific .NET Framework Version