다음을 통해 공유


Engine.BinPath Property

Definition

Caution

Avoid setting BinPath. If you were simply passing in the .NET Framework location as the BinPath, no other action is necessary. Otherwise, define Toolsets instead in the registry or config file, or by adding elements to the Engine's ToolsetCollection, in order to use a custom BinPath.

Obsolete way to get or set the tools path for the current default tools version.

public:
 property System::String ^ BinPath { System::String ^ get(); void set(System::String ^ value); };
[System.Obsolete("Avoid setting BinPath. If you were simply passing in the .NET Framework location as the BinPath, no other action is necessary. Otherwise, define Toolsets instead in the registry or config file, or by adding elements to the Engine's ToolsetCollection, in order to use a custom BinPath.")]
public string BinPath { get; set; }
public string BinPath { get; set; }
[<System.Obsolete("Avoid setting BinPath. If you were simply passing in the .NET Framework location as the BinPath, no other action is necessary. Otherwise, define Toolsets instead in the registry or config file, or by adding elements to the Engine's ToolsetCollection, in order to use a custom BinPath.")>]
member this.BinPath : string with get, set
member this.BinPath : string with get, set
Public Property BinPath As String

Property Value

The MSBuild path.

Attributes

Remarks

BinPath is an obsolete concept. We retain it for now for all the hosts that use the BinPath property, or the Engine(binPath) constructor, but internally it is just the tools path of the default tools version.

Applies to