Share via


IVsWebAppMigration.ConvertProjFileToWebAppProj(String, Guid) Method

Definition

Converts a project file to a Web Application project file.

public:
 int ConvertProjFileToWebAppProj(System::String ^ lpszProjectPath, [Runtime::InteropServices::Out] Guid % pProjectFactoryGuid);
public int ConvertProjFileToWebAppProj (string lpszProjectPath, out Guid pProjectFactoryGuid);
abstract member ConvertProjFileToWebAppProj : string * Guid -> int
Public Function ConvertProjFileToWebAppProj (lpszProjectPath As String, ByRef pProjectFactoryGuid As Guid) As Integer

Parameters

lpszProjectPath
String

[in] Path to the project.

pProjectFactoryGuid
Guid

[out] GUID for the project factory.

Returns

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  
);   

Applies to