Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OutputType Property

Visual Studio .NET 2003

Returns or sets the type of the output file. Three output types are supported: Windows application, console application, and class library.

[Visual Basic .NET]
Public Property OutputType() As prjOutputType
[Visual Basic 6]
Property Get OutputType() As prjOutputType
Property Let OutputType( _
   ByVal FileType As prjOutputType _
) 
[C++]
HRESULT __stdcall get_OutputType(
   /* [out, retval] */ prjOutputType* retVal
);
HRESULT __stdcall put_OutputType(
   /* [in] */ prjOutputType FileType
);
[C#]
prjOutputType OutputType {get; set;}
[JScript .NET]
public function get OutputType() : prjOutputType
public function set OutputType(
   FileType: prjOutputType
)

Parameters

FileType
A prjOutputType enumeration value.

Remarks

The value of OutputType is set by the project system when a new project is created. The default settings are described in the following table.

Project typeOutput valueDescription
Windows ApplicationprjOutputTypeWinExeWindows executable file
Console applicationprjOutputTypeExeExecutable file
All other projectsprjOutputTypeLibraryClass library

Example

See ProjectType Property.

See Also

General, Common Properties, <Projectname> Property Pages Dialog Box (Visual C#) | General, Common Properties, <Projectname> Property Pages Dialog Box (Visual Basic) | /target (Visual Basic) | /target (Specify Output File Format) (Visual C#)

Applies To: Properties Property (General Extensibility) | Properties Property (Visual Basic and Visual C# Project Object)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft