| title | ProjectExtensions Element (MSBuild) | |||
|---|---|---|---|---|
| description | Learn about the MSBuildProjectExtensions element, which allows MSBuild project files to contain non-MSBuild information. | |||
| ms.date | 03/13/2017 | |||
| ms.topic | reference | |||
| f1_keywords | ||||
| dev_langs |
|
|||
| helpviewer_keywords |
|
|||
| author | ghogen | |||
| ms.author | ghogen | |||
| ms.subservice | msbuild |
Allows MSBuild project files to contain non-MSBuild information. Anything inside of a ProjectExtensions element will be ignored by MSBuild.
<Project> <ProjectExtensions>
<ProjectExtensions>
Non-MSBuild information to include in file.
</ProjectExtensions>The following sections describe attributes, child elements, and parent elements.
None
None
| Element | Description |
|---|---|
| Project | Required root element of an MSBuild project file. |
Only one ProjectExtensions element may be used in an MSBuild project.
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>