Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public ReadOnly Property Properties As IEnumerable
public IEnumerable Properties { get; }
public:
property IEnumerable^ Properties {
IEnumerable^ get ();
}
member Properties : IEnumerable with get
function get Properties () : IEnumerable
Property Value
Type: System.Collections.IEnumerable
The list of properties for the event.
Remarks
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.
Note
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.