IVsSolution6::AddExistingProject Method (String^, IVsHierarchy^, IVsHierarchy^)
Visual Studio 2015
Adds an existing project to the solution.
Assembly: Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)
int AddExistingProject(
String^ szFullPath,
IVsHierarchy^ pParent,
[OutAttribute] IVsHierarchy^% ppNewProj
)
Parameters
- szFullPath
-
Type:
System::String^
The full path of the project.
- pParent
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[optional] The parent IVsHierarchy element under which to create the new project. This can be the solution folder or any project that implements IVsParentProject3.
- ppNewProj
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[out] The new IVsHierarchy element.
Show: