Share via


VSContent 요소(Visual Studio 콘텐츠 설치 관리자)

커뮤니티 콘텐츠 항목에 대한 메타데이터가 모두 들어 있습니다.

<VSContent xmlns="https://schemas.microsoft.com/developer/vscontent/2005">
    <Content>    
        <FileName>    </FileName>0
        <DisplayName>    </DisplayName>
    ...
    </Content>
</VSContent>

특성 및 요소

다음 단원에서는 특성, 자식 요소 및 부모 요소에 대해 설명합니다.

특성

특성

설명

xmlns

필수 요소.

스키마 네임스페이스를 식별하며 다음 값을 포함해야 합니다.

https://schemas.microsoft.com/developer/vscontent/2005

자식 요소

요소

설명

Content

필수적 요소입니다.

커뮤니티 콘텐츠 형식, 콘텐츠 표시 방법 및 콘텐츠가 지원하는 Visual Studio 버전을 식별하는 데이터가 들어 있습니다.

부모 요소

없음

설명

VSContent 요소는 .vscontent 파일의 루트 요소입니다.

예제

다음 예제에서는 매크로 커뮤니티 콘텐츠 구성 요소의 메타데이터를 보여 줍니다.

<VSContent xmlns="https://schemas.microsoft.com/developer/vscontent/2005">
    <Content>
        <FileName>MyMacroProject.vsmacros</FileName>
        <DisplayName>My Macro Project</DisplayName>
        <Description> A macro project created for this example.</Description>
        <FileContentType>Macro Project</FileContentType>
        <ContentVersion>1.0</ContentVersion>
    </Content>
</VSContent>

참고 항목

참조

Visual Studio 콘텐츠 설치 관리자 스키마 참조