IVsWebAppMigration.ConvertProjFileToWebAppProj Method

Converts a project file to a Web Application project file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'宣言
Function ConvertProjFileToWebAppProj ( _
    lpszProjectPath As String, _
    <OutAttribute> ByRef pProjectFactoryGuid As Guid _
) As Integer
'使用
Dim instance As IVsWebAppMigration
Dim lpszProjectPath As String
Dim pProjectFactoryGuid As Guid
Dim returnValue As Integer

returnValue = instance.ConvertProjFileToWebAppProj(lpszProjectPath, _
    pProjectFactoryGuid)
int ConvertProjFileToWebAppProj(
    string lpszProjectPath,
    out Guid pProjectFactoryGuid
)
int ConvertProjFileToWebAppProj(
    [InAttribute] String^ lpszProjectPath, 
    [OutAttribute] Guid% pProjectFactoryGuid
)
function ConvertProjFileToWebAppProj(
    lpszProjectPath : String, 
    pProjectFactoryGuid : Guid
) : int

Parameters

  • pProjectFactoryGuid
    Type: System.Guid%

    [out] GUID for the project factory.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method determines if a Visual Studio 2003 project file can be converted to a Visual Studio 2008 MSBuild project.

COM Signature

From webmigration.idl:

HRESULT ConvertProjFileToWebAppProj(
    [in]  LPCOLESTR      lpszProjectPath,
    [out] GUID * pProjectFactoryGuid
); 

Permissions

See Also

Reference

IVsWebAppMigration Interface

IVsWebAppMigration Members

Microsoft.VisualStudio.Shell.Interop Namespace