共用方式為


MSTest.ToolPath Property

Gets or sets the path to the directory that contains the version of MSTest.exe to run.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property ToolPath As InArgument(Of String)
[BrowsableAttribute(true)]
public InArgument<string> ToolPath { get; set; }
[BrowsableAttribute(true)]
public:
property InArgument<String^>^ ToolPath {
    InArgument<String^>^ get ();
    void set (InArgument<String^>^ value);
}
[<BrowsableAttribute(true)>]
member ToolPath : InArgument<string> with get, set
function get ToolPath () : InArgument<String>
function set ToolPath (value : InArgument<String>)

Property Value

Type: System.Activities.InArgument<String>
The path to the directory that contains the version of MSTest.exe to run.

Remarks

If no tool path is specified, Team Foundation Build automatically determines the path based on the data in the test lists or test containers.

.NET Framework Security

See Also

Reference

MSTest Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace