ProjectStartedEventArgs::Properties Property

 

Gets the list of properties for the event.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public:
property IEnumerable^ Properties {
	IEnumerable^ get();
}

Property Value

Type: System.Collections::IEnumerable^

The list of properties for the event.

The property names and values accessed through Properties are kept up-to-date and can be enumerated throughout the build of the project. However, changing a property in this list will not affect the build process.

System_CAPS_noteNote

This property does not work with multi-proc builds. To get proper results, you can either turn off multi-proc building by specifying /m:1 (which is the default), or you can work around the limitation by setting an environment variable. For example, setting MSBuildForwardPropertiesFromChild=configuration;platform forwards the "configuration" and "platform" properties from the child nodes. Unless this environment variable is defined, nothing will be forwarded. For more information, see How to: Use Environment Variables in a Build.

Return to top
Show: