Is your feature request related to a problem? Please describe.
The example for the psake.buildScriptParameters has -Configuration Release , but I can't set the parameter value dynamically, so I need to edit the setting when switching from e.g. Debug to Release configuration.
Describe the solution you'd like
I'd like that setting or something equivalent to the normal task args to available be on a per-task basis, so that I can set up a Build - Debug and Build Release task in tasks.json and supply the correct parameter to my build script.
Describe alternatives you've considered
An alternative solution would be to add support for resolving variables or other values from config in the psake.buildScriptParameters setting, similarly to how the command and args work in standard shell or process tasks, however this would still require editing a configuration setting to change configurations.
Additional context
None
Is your feature request related to a problem? Please describe.
The example for the
psake.buildScriptParametershas-Configuration Release, but I can't set the parameter value dynamically, so I need to edit the setting when switching from e.g. Debug to Release configuration.Describe the solution you'd like
I'd like that setting or something equivalent to the normal task
argsto available be on a per-task basis, so that I can set up aBuild - DebugandBuild Releasetask intasks.jsonand supply the correct parameter to my build script.Describe alternatives you've considered
An alternative solution would be to add support for resolving variables or other values from config in the
psake.buildScriptParameterssetting, similarly to how thecommandandargswork in standardshellorprocesstasks, however this would still require editing a configuration setting to change configurations.Additional context
None