0

I did some quick searching and was not able to find an answer to what happens when you do something like

dotnet build --configuration foobar

and the configuration foobar is not defined. I also tested this out but wasn't able to tell what exactly was happening. Does anyone know if it just uses the default configuration i.e. debug or release?

David Carek
  • 1,103
  • 1
  • 12
  • 26
  • The default for most projects is Debug. https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-build – Manish Kumar Mall Aug 10 '20 at 18:57
  • When you tried it, did it build? If so, did that not answer your question - a default configuration was used? What is the value/point of this question? – CoolBots Aug 10 '20 at 20:43
  • `dotnet` doesn't seem to tell you what build config it's using, that's the problem. You can't tell what it's defaulted to. – Jez Aug 26 '20 at 09:39

0 Answers0