Appendix B. Project Item Templates

Each project type has a number of associated item templates. (See Appendix A for a listing of project templates.) This appendix lists all of the item templates included in VS.NET. (See Chapter 9 for more information on how to add your own templates.)

VB.NET, C#, and J# Templates

Windows Form

A source file that defines a class derived from System.Windows.Forms.Form.

Class

A source file containing an empty class declaration.

Code File

An empty source file.

Assembly Information File

A source file containing general assembly information. This is where all assembly level attributes are placed.

Application Configuration File

A .NET application configuration file. This file is named app.config , but at build time, VS.NET copies the file into the startup directory with the name <exename>.exe.config. (This is the name that the .NET Framework expects configuration files to have.)

Installer Class

A source file containing a class to be invoked at setup time. This would be used in a project that implements a custom action for a Setup and Deployment project.

Component Class

A source file containing a class that derives from System.ComponentModel.Component. (This enables integration with the VS.NET design-time environment. See Chapter 7 for more details.)

User Control

A source file containing a class derived from System.Windows.Forms.UserControl. User controls can be edited using the visual designer.

Data Form Wizard

A source file containing a Windows Forms form and also an associated ...

Get Mastering Visual Studio .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.