다음을 통해 공유


MSBuild 프로젝트 파일 스키마 참조

모든 MSBuild XML 스키마 요소와 사용 가능한 해당 특성 및 자식 요소가 들어 있는 표를 제공합니다.

MSBuild에서는 프로젝트 파일을 사용하여 빌드할 대상과 방법을 빌드 엔진에 알립니다. MSBuild 프로젝트 파일은 MSBuild 스키마를 준수하는 XML 파일입니다. 이 단원에서는 MSBuild에 대한 XML 스키마 정의 파일(.xsd)에 대해 설명합니다.

MSBuild XML 스키마 요소

다음 표에서는 모든 MSBuild XML 스키마 요소를 해당 자식 요소 및 특성과 함께 보여 줍니다.

요소

자식 요소

특성

Choose 요소(MSBuild)

Otherwise

When

--

Import 요소(MSBuild)

--

조건

프로젝트

ImportGroup 요소[MSBuild]

Import

조건

Item 요소(MSBuild)

ItemMetaData

조건

Exclude

포함

제거

ItemDefinitionGroup 요소(MSBuild)

항목

조건

ItemGroup 요소(MSBuild)

항목

조건

ItemMetadata 요소(MSBuild)

항목

조건

OnError 요소(MSBuild)

--

조건

ExecuteTargets

Otherwise 요소(MSBuild)

Choose

ItemGroup

PropertyGroup

--

Output 요소(MSBuild)

--

조건

ItemName

PropertyName

TaskParameter

Parameter 요소[MSBuild]

--

Output

ParameterType

필수

ParameterGroup 요소[MSBuild]

Parameter

--

Project 요소(MSBuild)

Choose

Import

ItemGroup

ProjectExtensions

PropertyGroup

대상

UsingTask

DefaultTargets

InitialTargets

ToolsVersion

TreatAsLocalProperty

xmlns

ProjectExtensions 요소(MSBuild)

--

--

Property 요소(MSBuild)

--

조건

PropertyGroup 요소(MSBuild)

속성

조건

Target 요소(MSBuild)

OnError

Task

AfterTargets

BeforeTargets

조건

DependsOnTargets

Inputs

KeepDuplicateOutputs

이름

Outputs

반환 값

Task 요소(MSBuild)

Output

조건

ContinueOnError

Parameter

TaskBody 요소(MSBuild)

데이터

평가

UsingTask 요소(MSBuild)

ParameterGroup

TaskBody

AssemblyFile

AssemblyName

조건

TaskFactory

TaskName

When 요소(MSBuild)

Choose

ItemGroup

PropertyGroup

조건

참고 항목

참조

MSBuild 조건

기타 리소스

MSBuild 작업 참조

MSBuild 참조

MSBuild