Export (0) Print
Expand All

Visual Basic and Visual C# Projects

When you create a new project, icons in the New Project dialog box and Add Project dialog box represent the available project types and their templates. The project template that is associated with the project icon you choose determines the output type and other options available for that project.

Note   Some project types listed in this topic are not available in the Standard Edition of Visual Basic and Visual C# .NET. For more information, see Visual Basic Standard Edition Features or Visual C# Standard Edition Features.

There are two basic project models in Visual Basic and Visual C#: local and Web. For more information, see Local vs. Web Projects.

The following table lists the types of projects available for Visual Basic and Visual C#.

Project TemplateUsed To Create
Windows Application TemplateTraditional standalone Windows application or a rich front-end to a distributed Web application. For more information, see Creating Windows Applications.
Visual Basic Note   This replaces the Standard EXE project template in Visual Basic 6.0.
Class Library TemplateReusable class or component that can be shared with other projects. This project type is considered windowless and will not contain a Windows Form class. For more information, see Component Classes.
Windows Control Library TemplateCustom control to use on Windows Forms. For more information, see Control Authoring for Windows Forms.
ASP.NET Web Application TemplateProgrammable ASP.NET Web application. For more information, see Introduction to ASP.NET Web Applications in Visual Studio.
ASP.NET Mobile Web Application TemplateASP.NET Web Application viewable on PDAs (personal digital assistants), mobile phones, and other mobile devices. For more information, see ASP.NET Mobile Designer.
ASP.NET Web Service Template XML Web services authored with ASP.NET, functionality that can be published and called by external applications. For more information, see Creating XML Web Services in Managed Code.
Web Control Library TemplateCustom control that can be used on Web Forms pages. For more information, see ASP.NET Server Controls.
Visual Basic Note   This project type is analogous to the ActiveX Control project in Visual Basic 6.0.
Console Application TemplateCommand-line application. For more information, see Console Application Template.
Windows Service TemplateLong running applications that do not have a user interface. Windows Service Applications (formerly called "NT services") can monitor items such as system performance. For more information, see Introduction to Windows Service Applications.
New Project in Existing Folder TemplateBlank project within an existing application folder for using files from a pre-existing project. This template can be used with both local and Web projects.
Empty Project TemplateAn empty project. The template creates the necessary file structure needed to store application information; any references, files, or components must be added manually.
Empty Web Project TemplateFor advanced users who want to start programming in an empty environment and add their own server-based functionality. For more information, see Web Forms Pages and Projects in Visual Studio.

See Also

What's New in Projects | File Types and File Extensions in Visual Basic and Visual C# | Creating Windows Applications | XML Web Services in Managed Code | Web Forms Pages and Projects in Visual Studio | Projects and Solutions, Environment, Options Dialog Box | Programming with Office

Show:
© 2014 Microsoft