Closed ryuyu closed 8 years ago
Looks like a reasonable fix. Can you add a note to the info message in task.json indicating release is the default?
Isn't the typical Cordova default to use debug unless specified otherwise?
For the command line, sure. CI one could make an argument either way. Generally you'll be dong some form of release build (ex: ad-hoc for iOS) in that environment. Given iOS restrictions in particular a debug build tied to "iPhone Developer" has limited value. Xamarin iOS defaults to Release.
However, I did a check and the default CI template for VS currently sets debug. I'm okay with switching to debug as the default for consistency with the Cordova CLI given that fact. If they were both release I'd say we stick with release.
Adding a check for strange/empty values for configuration and defaulting to release when this happens.
@dlevine82 @Chuxel