RequiredPlatformVersion Element (Visual Studio Templates)
Specifies the minimum version of the operation system that the project template requires to work correctly. This element is used to specify that a project template is used to create Windows Store apps.
VSTemplate
TemplateData
…..TargetPlatformName
RequiredPlatformVersion
<RequiredPlatformVersion> OperatingSystem </RequiredPlatformVersion>
Attributes and Elements
None.
Attributes
None.
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
Specifies the platform that the project template targets. This element is used to specify that a project template is used to create Windows Store apps. |
Text Value
A text value is required.
Remarks
This text specifies the minimum operating system version required by the template. Use the value 8 to specify Windows Store apps.
Example
This example specifies that the project template targets Windows 8 or later.
<VSTemplate Type="Project" Version="3.0.0" xmlns="https://schemas.microsoft.com/developer/vstemplate/2005"> <TemplateData> <TargetPlatformName>Windows</TargetPlatformName> <RequiredPlatformVersion>8</RequiredPlatformVersion> </TemplateData> <TemplateContent> </TemplateContent></VSTemplate>
See Also
Reference
TargetPlatformName Element (Visual Studio Templates)
Visual Studio Template Schema Reference