Cake.Incubator icon indicating copy to clipboard operation
Cake.Incubator copied to clipboard

Project parser assumes 'Library' for `OutputType` if not set

Open prochnowc opened this issue 2 years ago • 0 comments

Hi.

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

https://github.com/cake-contrib/Cake.Incubator/blob/d98c041139947b6feebedbee0201a684fd22a54d/src/Cake.Incubator/Project/ProjectParserExtensions.cs#L882

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

prochnowc avatar Jul 11 '22 11:07 prochnowc