In Visual Studio 2017/2019, in a c++ project, project property pages / configuration properties / debugging / environment, we set environment to a certain value, but it is ignored (it does not work) when we use toolset v141, and it works with v142 (VS2019 only).
Is there any way to set a certain $env:path
for the debugger, in a specific configuration (debug/release) ?
I thought about running a command before the Command = $(TargetPath)
, but it's not straightforward.