Project Policy Schema Refer ...


Visual Studio 
Kind Element for Identifiers for Project (Visual Studio Project Policy) 

Specifies the project-type GUID that is used as an identifier for a Visual Studio project.

<Kind>project-type GUID</Kind>
Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element Description

Identifiers

Contains the identifiers that are used to locate a project in the Visual Studio integrated development environment (IDE).

Text Value

A text value is required.

The text value is a GUID that specifies the type of project, for example, a Visual Basic project or a Visual C# project. The GUIDs for the project types to which policy can be applied are:

Project Type GUID

Solution Folder

{66A26720-8FB5-11D2-AA7E-00C04F688DDE}

Visual Basic

{F184B08F-C81C-45F6-A57F-5ABD9991F28F}

Visual C#

{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}

Visual C++

{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}

Visual J#

{E6FDF86B-F3D1-11D4-8576-0002A516ECE8}

Web Project

{E24C65DC-7377-472b-9ABA-BC803B73C61A}

These values are also listed in the registry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Policy\SupportedProjects.

The text value type is string.

Example

This example shows how to identify Visual C# projects using the project-type GUID.

<Project Id="CSharpProject">
   <Identifiers>
      <Kind>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Kind>
   </Identifiers>
</Project>
Element Information

Namespace

http://schemas.microsoft.com/VSPolicy/PDLSchema

Schema Name

Visual Studio Project Policy

Validation File

Policy.xsd

Can be Empty

Not applicable

See Also

Reference

ElementDefs Element (Visual Studio Project Policy)
FileExtension Element for Identifiers for Project (Visual Studio Project Policy)
Global Element for Identifiers for Project (Visual Studio Project Policy)
Identifiers Element for Project (Visual Studio Project Policy)
PolicyDefinitions Element (Visual Studio Project Policy)
Project Element for ElementDefs (Visual Studio Project Policy)
Property Element for Identifiers for Project (Visual Studio Project Policy)
UniqueId Element for Identifiers for Project (Visual Studio Project Policy)

Other Resources

Project Policy Schema Reference

Tags :


Page view tracker