IVsWebAppMigration::ConvertProjFileToWebAppProj Method (String^, Guid)

 

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)

int ConvertProjFileToWebAppProj(
	String^ lpszProjectPath,
	[OutAttribute] Guid% pProjectFactoryGuid
)

Parameters

lpszProjectPath
Type: System::String^

[in] Path to the project.

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.

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

From webmigration.idl:

HRESULT ConvertProjFileToWebAppProj(
    [in]  LPCOLESTR      lpszProjectPath,
    [out] GUID * pProjectFactoryGuid
); 
Return to top
Show: