Partager via


Sdk element (MSBuild)

References an MSBuild project SDK.

<Project> <Sdk>

Syntax

<Sdk Name="My.Custom.Sdk"
     Version="1.0.0" />

Attributes and elements

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

Attributes

Attribute Description
Name Required attribute.

The name of the project SDK.
Version Optional attribute.

The version of the project SDK

Child elements

None.

Parent elements

Element Description
Project Required root element of an MSBuild project file.

See also