Bagikan melalui


How to: Create CLR Console Applications

To create a console application, use the Console Application template, which is available from the New Project dialog box.

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To create a common language runtime (CLR) console application

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

    The New Project dialog box appears.

  2. Under Installed Templates, click the Visual C++ node; then click the CLR node. Choose the CLR Console Application icon.

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

    Note

    You can also specify other project and solution settings from the New Project dialog box, but these settings are not required.

  4. Click OK.

See Also

Concepts

Visual C++ Project Types

Other Resources

Debugging Preparation: Visual C++ Project Types