How to: Create a C++ Project from Existing Code

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at How to: Create a C++ Project from Existing Code.

In Visual Studio Professional and Visual Studio Ultimate you can port your existing code files into a Visual C++ project using the Create New Project From Existing Code Files wizard. This wizard is not available in Express editions.

Porting your existing code files into a Visual C++ project enables you to use IDE features such as IntelliSense, Call Browser, and Property Manager.

To create a C++ project from existing code

  1. On the File menu, point to New, and then click Project From Existing Code.

  2. On the first page of the Create New Project from Existing Code Files wizard, select Visual C++ in the What type of project would you like to create list.

  3. In subsequent pages of the wizard, specify settings for the new project that you want to create.

  4. Click Finish to generate the new project.

See Also

Specify Project Location and Source Files, Create New Project From Existing Code Files Wizard
Specify Project Settings, Create New Project From Existing Code Files Wizard
Specify Debug Configuration Settings, Create New Project From Existing Code Files Wizard
Specify Release Configuration Settings, Create New Project From Existing Code Files Wizard