Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

How to: Create Class Libraries

To create a class library, use the Class Library template, which is available in the New Project dialog box.


Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Customizing Development Settings.

To create a class library

  1. On the File menu, click New, and then click Project.

    The New Project dialog box appears.

  2. In the Installed Templates section on the left side, click the Visual C++ node. Click the Class Library icon in the list of available templates.

  3. In the Name box, type a unique name for your application.

    Note Note

    You can also specify other project and solution settings in the New Project dialog box.

  4. Click OK.

Community Additions

© 2015 Microsoft