Skip to content

Latest commit

 

History

History
76 lines (57 loc) · 1.71 KB

projectextensions-element-msbuild.md

File metadata and controls

76 lines (57 loc) · 1.71 KB
title description ms.date ms.topic f1_keywords dev_langs helpviewer_keywords author ms.author manager ms.subservice
ProjectExtensions Element (MSBuild)
Learn about the MSBuildProjectExtensions element, which allows MSBuild project files to contain non-MSBuild information.
03/13/2017
reference
VB
CSharp
C++
<ProjectExtensions> element [MSBuild]
ProjectExtensions element [MSBuild]
ghogen
ghogen
mijacobs
msbuild

ProjectExtensions element (MSBuild)

Allows MSBuild project files to contain non-MSBuild information. Anything inside of a ProjectExtensions element will be ignored by MSBuild.

<Project> <ProjectExtensions>

Syntax

<ProjectExtensions>
    Non-MSBuild information to include in file.
</ProjectExtensions>

Attributes and elements

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

Attributes

None

Child elements

None

Parent elements

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

Remarks

Only one ProjectExtensions element may be used in an MSBuild project.

Example

The following code example shows information from the integrated development environment being stored in a ProjectExtensions element.

<ProjectExtensions>
    <VSIDE>
        <External>
            <!--
            Raw XML passed to the IDE by an external source
            -->
        </External>
    </VSIDE>
</ProjectExtensions>

See also