Share via


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

'Declaration
Function ConvertProjFileToWebAppProj ( _
    lpszProjectPath As String, _
    <OutAttribute> ByRef pProjectFactoryGuid As Guid _
) As Integer
int ConvertProjFileToWebAppProj(
    string lpszProjectPath,
    out Guid pProjectFactoryGuid
)
int ConvertProjFileToWebAppProj(
    [InAttribute] String^ lpszProjectPath, 
    [OutAttribute] Guid% pProjectFactoryGuid
)
abstract ConvertProjFileToWebAppProj : 
        lpszProjectPath:string * 
        pProjectFactoryGuid:Guid byref -> int
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
); 

.NET Framework Security

See Also

Reference

IVsWebAppMigration Interface

Microsoft.VisualStudio.Shell.Interop Namespace