Прочетете на английски

Споделяне чрез


Import.ProjectPath Property

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Returns the original import path from the Import element

C#
public string ProjectPath { get; set; }
C#
public string ProjectPath { get; }

Property Value

The Project attribute value of the Import element.

Remarks

Предупреждение

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to

Продукт Версии
MSBuild 17
MSBuild (.NET Core) 17