Creating a New Project From Files in an Existing Project

You can subdivide a COBOL project in your solution by selecting files in the project and using those to create a new project in the same solution. Splitting the code and moving parts of it into a different project could be useful if you need to move portions of the code to a dynamic library project.

You use the COBOL Projects From Selection wizard available from Solution Explorer to subdivide your projects:

VSIDE2012012IMG-low.png

To invoke the wizard, in Solution Explorer select the files in your project that you wish to use to create a new project, right-click the selection and click Create Project. The wizard enables you to specify the type of project to create and whether to copy or move the selected files into it. Once you specify you preferences, the wizard creates the new project in the same solution and it has the same properties and references as the original project, and a build configuration which is the default one for the specified project type.