Search code examples
visual-studio-2015remote-debugging

VS2015 SP3 remote debug illegal characters in path


After upgrading Visual Studio 2015 to Update 3 the remote debugging stops working. While trying to debug the error occurs:

Severity Code Description Project File Line Suppression State Error DEP4300 : Could not generate the root folder for app package xxx|VS.Debug_x86.xxx|CN=xx|xxxxxx.Debug_x86.xxx with base layout folder of C:\Users\xxxx. Illegal characters in path.


Solution

  • The remote device should have a Visual Studio 2015 Remote Debugger tool uploaded to allow remote debugging. This tool differs between Visual Studio versions. So after Visual Studio upgrade it is needed to also update Remote Debugger tool on remote device. The tool is located usually in directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Remote Debugger