Hello,
this Script:

was original written when VS IDE Solution Configuration was set to "Debug", and it worked as it should.
After switching the VS IDE Solution Configuration to "Release" the output is still going to the debug folders.
Checking the MSBuild Properties in vsSBE shows debug setting:

Checking VS IDE Macros gives the expected setting:

Output-BuildOrder.txt
Output-vsSolutionBuildEvent.txt
Is my vsSBE configuration wrong or do we have an issue?
Thank you in advance for your efforts.
Michael