fsprojects / ProjectScaffold

A prototypical .NET solution (file system layout and tooling), recommended for F# projects
http://fsprojects.github.io/ProjectScaffold
The Unlicense
515 stars 154 forks source link

Revert "Build configuration should default to Debug" #291

Closed dsyme closed 7 years ago

dsyme commented 7 years ago

Am reverting as build Release should turn on release mode

rmunn commented 7 years ago

Good point. I'll submit a PR with a better solution, where the Release target can override the default configuration.

rmunn commented 7 years ago

Actually, there's no good way (that I've found) to build that PR without a total revamp of the build.fsx script, so I'm abandoning that idea. It's enough to let the default configuration be Release, and if someone wants the Debug configuration they can change it manually (and then they should, in theory, remember to change it back before running the Release target).