다음을 통해 공유


ProjectStartedEventArgs.Properties Property

Definition

List of properties in this project. This is a live, read-only list.

public:
 property System::Collections::IEnumerable ^ Properties { System::Collections::IEnumerable ^ get(); };
public System.Collections.IEnumerable Properties { get; }
public System.Collections.IEnumerable? Properties { get; }
public System.Collections.IEnumerable Properties { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.Properties : System.Collections.IEnumerable
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Properties : System.Collections.IEnumerable
Public ReadOnly Property Properties As IEnumerable

Property Value

The list of properties for the event.

Attributes

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.

Applies to