Partager via


BuildParameters.SaveOperatingEnvironment Property

Definition

Flag indicating if the operating environment such as the current directory and environment be saved and restored between project builds and task invocations. This should be set to false for any other build managers running in the system so that we do not have two build managers trampling on each others environment.

public:
 property bool SaveOperatingEnvironment { bool get(); void set(bool value); };
public bool SaveOperatingEnvironment { get; set; }
public bool SaveOperatingEnvironment { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.SaveOperatingEnvironment : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.SaveOperatingEnvironment : bool with get, set
Public Property SaveOperatingEnvironment As Boolean

Property Value

Returns a switch indicating whether the operating environment should be saved and restored between project builds and task invocations; true if the environment should be saved, false otherwise.

Attributes

Remarks

This should be set to false for any other build managers running in the system so that we do not have two build managers trampling on each others environment.

Applies to