Skip to content

Project parser assumes 'Library' for OutputType if not set #201

@prochnowc

Description

@prochnowc

Hi.

I've found a Bug in the project parser which assumes Library for OutputType if it's not specified.

var outputType = document.GetFirstElementValue(ProjectXElement.OutputType) ?? "Library";

Actually the default OutputType depends on the SDK.
For the Microsoft.NET.Sdk.Web SDK it defaults to 'Exe'.

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