Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.