Right now, running dotnet example in CI will always use the default build configuration (i.e. Debug). This is not great if you have CI jobs for both Debug and Release, since running examples in the Release job will cause the entire project to be rebuilt for Debug (after just building it for Release), and then run it in an unexpected configuration.
A -c option for specifying configuration could probably be the solution.
Right now, running
dotnet example
in CI will always use the default build configuration (i.e. Debug). This is not great if you have CI jobs for both Debug and Release, since running examples in the Release job will cause the entire project to be rebuilt for Debug (after just building it for Release), and then run it in an unexpected configuration.A
-c
option for specifying configuration could probably be the solution.