Muokkaa

Jaa


How to: Create CLR Empty Projects

To create a CLR empty project, use the CLR Empty Project 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 Personalize the Visual Studio IDE.

To create a CLR empty project

  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 Empty Project icon. If you don't see the CLR empty project templates in the Create a new project dialog, you may need to install C++/CLI support. For more information, see Install C++/CLI support in Visual Studio 2022.

  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

C++ project types in Visual Studio
Debugging C++ projects