We use a fully pathed intermediate output directory in our projects, so when we
press F5 in Visual Studio 2012 on Windows 7, we get a "Unable to start program
'c:\path_to_project\c:\path_to_intermediate_output\vs-android_launch.cmd' The
filename, directory name, or volume label syntax is incorrect." error because
the project path has been concatenated with the intermediate path. The problem
stems from the required vs-android_launch.cmd being created in the intermediate
output path, based on line 381 of Microsoft.Cpp.Android.targets:
GenerateCmdFilePath ="$(IntDir)\vs-android_launch.cmd"
But both of the Microsoft.Cpp.Android.props files have the following on line 27:
<RemoteDebuggerCommand>$(ProjectDir)$(IntDir)vs-android_launch.cmd</RemoteDebugg
erCommand>
This means that the .cmd file isn't created in the same place that it is
created from. The above line needs to be changed to:
<RemoteDebuggerCommand>$(IntDir)\vs-android_launch.cmd</RemoteDebuggerCommand>
I assume this will also work with relative intermediate paths.
Thanks,
Rich
Original issue reported on code.google.com by richjfor...@gmail.com on 23 Dec 2013 at 2:20
Original issue reported on code.google.com by
richjfor...@gmail.com
on 23 Dec 2013 at 2:20