Bagikan melalui


How to: Change the Application Type (Visual Basic, C#)

The Application Type property for a project determines the type of application to build: Windows Application, Windows Class Library, Windows Service, Command Line Application, or Server Class Library. Different project properties and options are available depending on the application type.

The default Application Type is the same as the Project Type chosen in the Add Project dialog box.

The Application Type property can be set on the Application page of the Project Designer.

To change the application type

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. Click the Application tab.

  3. For a Visual Basic project, in the Application Type list, click the desired type. For a C# project, in the Output Type list, click the desired type.

See Also

Concepts

Default Project Templates in Visual Studio

Other Resources

Managing Application Properties

Change History

Date

History

Reason

July 2008

Added specific content for Visual Basic and C# in the final step.

Content bug fix.