patriksvensson / dotnet-example

A dotnet tool to list and run examples
MIT License
170 stars 15 forks source link

`-c` option for specifying Debug or Release configuration #10

Open alexrp opened 2 years ago

alexrp commented 2 years ago

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.