共用方式為


ProjectFileConverter.OldProjectFile Property

Gets or sets the old project file name.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Conversion
Assembly:  Microsoft.Build.Conversion.Core (in Microsoft.Build.Conversion.Core.dll)

Syntax

'Declaration
Public Property OldProjectFile As String
public string OldProjectFile { get; set; }
public:
property String^ OldProjectFile {
    String^ get ();
    void set (String^ value);
}
member OldProjectFile : string with get, set
function get OldProjectFile () : String 
function set OldProjectFile (value : String)

Property Value

Type: System.String
The old project file name.

Remarks

This value must be set before running the Convert method.

.NET Framework Security

See Also

Reference

ProjectFileConverter Class

Microsoft.Build.Conversion Namespace