Skip to content

How can I return a non-zero exit code with the HostingPlayground code sample? #1675

@VictorioBerra

Description

@VictorioBerra

Changing void to int here, and returning 1, still logs the following:

C:\Source\command-line-api\artifacts\bin\HostingPlayground\Debug\net5.0\HostingPlayground.exe (process 28424) exited with code 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions