ProjectFileConverter.Convert Method (String)

Note: This API is now obsolete.

This is the entry point method, which performs the project file format conversion. This method will overwrite "newProjectFile" if it already exists, so the caller of this method should confirm with the user that that's what he really wants to do.

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 ( _
    msbuildBinPath As String _
)
[ObsoleteAttribute("Use parameterless overload instead.")]
public void Convert(
    string msbuildBinPath
)
[ObsoleteAttribute(L"Use parameterless overload instead.")]
public:
void Convert(
    String^ msbuildBinPath
)
[<ObsoleteAttribute("Use parameterless overload instead.")>]
member Convert : 
        msbuildBinPath:string -> unit
public function Convert(
    msbuildBinPath : String
)

Parameters

  • msbuildBinPath
    Type: System.String

    The fully qualified path to MSBuild.exe.

.NET Framework Security

See Also

Reference

ProjectFileConverter Class

Convert Overload

Microsoft.Build.Conversion Namespace