Прочетете на английски

Споделяне чрез


OutputKind Enum

Definition

Specifies output assembly kinds generated by compiler.

C#
public enum OutputKind
Inheritance
OutputKind

Fields

Name Value Description
ConsoleApplication 0

An .exe with an entry point and a console.

WindowsApplication 1

An .exe with an entry point but no console.

DynamicallyLinkedLibrary 2

A .dll file.

NetModule 3

A .netmodule file.

WindowsRuntimeMetadata 4

A .winmdobj file.

WindowsRuntimeApplication 5

An .exe that can run in an app container.

Equivalent to a WindowsApplication, but with an extra bit set in the Portable Executable file so that the application can only be run in an app container. Also known as a "Windows Store app".

Applies to

Продукт Версии
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0