How to use Configuration value in artifacts path?

I have a .net project and 2 build steps:
1. nuget packages update
2. build

The 2nd step has setting
Configuration: Debug
and artifacts path is hardcoded like this:

MyApp\bin\x86\Debug => MyApp-Bin-x86-%system.build.number%.zip

I'd like to add a new step to build Release configuration.

How I can create Debug and Release building steps for the same project?
Or I need to create the new project and hardcode COnfiguration value and path?

Thank you

1 comment
Comment actions Permalink

May be I need to have one project and run it somehow 2 times with different Configuration values: Debug|Release, but in any case It seems I need to have a possibility to combine the path with Configuration value.

If I am wrong please correct.
What I want it is: to build both configurations of the same project: Debug and Release

0

Please sign in to leave a comment.