VS_DEBUGGER_WORKING_DIRECTORY not working with VS 2017
When using CMake to generate VS 2017 solutions, setting the VS_DEBUGGER_WORKING_DIRECTORY
target property sets LocalDebuggerWorkingDirectory
in the main .vcxproj
file, but not the .vcxproj.user
file (which is where it needs to be in order to actually work).
If the same thing is done to generate a VS 2015 solution, the LocalDebuggerWorkingDirectory
correctly ends up in the .vcxproj.user
file, just as it's supposed to, and everything works as expected.