Referenced this SO question first, to no avail - Use Cake to build .Net Core project using Debug configuration
Also checked out the Cake docs, as well as their github, these two pages looking promising but not useful: https://cakebuild.net/docs/running-builds/configuration/set-configuration-values
https://cakebuild.net/docs/running-builds/configuration/default-configuration-values
I have a cake script that we run, and I can attempt to manually run the script such that it would produce a Debug configuration of my project...
dotnet cake "working\build.cake" --target="myProject" --verbosity=normal --configuration "Debug"
The output from running this command:
----------------------------------------
Setup
----------------------------------------
Error: One or more errors occurred. (Only release mode is supported)
Only release mode is supported
So...does anyone know if its true? Is it true that cake only supports release mode?
NOTE: Added the tag for .NET-5 since our codebase is using it. Unsure if this could be significant.