IVsWebAppMigration.ConvertProjFileToWebAppProj(String, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);