Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Specifies which versions of Visual Studio the component supports.
<VSContent>
<Content>
<ContentVersion>
<ContentVersion> 1.0/2.0 </ContentVersion>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
None.
Parent Elements
Element |
Description |
|---|---|
Content |
Groups content in a .vscontent file. |
Text Value
A text value is required.
This value specifies which version of Visual Studio a component is designed to work with.
1.0 Specifies that the component is compatible with Visual Studio 2005, Visual Studio 2008 and Visual Studio 2010.
2.0 Specifies that the component is compatible with Visual Studio 2008, Visual Studio 2010, and Visual Studio 2012.
Remarks
For managed language add-ins, specifying <ContentVersion>1.0</ContentVersion> will not install the add-in for use in both Visual Studio 2005 and Visual Studio 2008 unless the Version element in the .addin file for the add-in specifies the value 8.0 and 9.0 or the value *. For more information, see Add-In Registration.
Example
The following example shows the metadata for a Windows community content component written in Visual Basic.
<VSContent xmlns="https://schemas.microsoft.com/developer/vscontent/2005">
<Content>
<FileName>MyWindowsApplication.vbproj</FileName>
<DisplayName>My Windows Project</DisplayName>
<Description> A Windows project, written in Visual Basic, created for this example.</Description>
<FileContentType>Windows Project</FileContentType>
<ContentVersion>1.0</ContentVersion>
</Content>
</VSContent>