Bagikan melalui


ProjectFileConverter.Convert Method (ProjectLoadSettings)

Note: This API is now obsolete.

Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.

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
<ObsoleteAttribute("Use parameterless overload instead")> _
Public Sub Convert ( _
    projectLoadSettings As ProjectLoadSettings _
)
[ObsoleteAttribute("Use parameterless overload instead")]
public void Convert(
    ProjectLoadSettings projectLoadSettings
)
[ObsoleteAttribute(L"Use parameterless overload instead")]
public:
void Convert(
    ProjectLoadSettings projectLoadSettings
)
[<ObsoleteAttribute("Use parameterless overload instead")>]
member Convert : 
        projectLoadSettings:ProjectLoadSettings -> unit
public function Convert(
    projectLoadSettings : ProjectLoadSettings
)

Parameters

.NET Framework Security

See Also

Reference

ProjectFileConverter Class

Convert Overload

Microsoft.Build.Conversion Namespace