Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugger error “Unable to attach. The System cannot find the file specified” from Ripple and Android emulator

Debugger error “Unable to attach. The System cannot find the file specified” from the Ripple and Android emulator

I've just installed the Multi-device Hybrid Apps preview for Visual Studio 2013, and I'm getting an error when attempting to debug against Ripple or other emulators

The build process is always completed successfully, but while start debugging the VS show up this error message:

“Unable to attach. The System cannot find the file specified”

VS2013 Multi-device Hybrid Apps Debugging error

There is no useful output provided by Visual Studio 2013, rather the debugger just doesn't attach to the browser Ripple emulator after showing the exception. The exception happens immediately and the debugger never attaches. I've had this error occur since installation, so it shouldn't have anything to do with the project itself. I checked my paths and they appear to be correct as in @Freddy's answer, because the build is always successful.

like image 433
Zakaria Avatar asked Sep 17 '14 08:09

Zakaria


1 Answers

This may happen when Visual Studio is installed on a non-system drive. If that's the case, you can work around it by copying the assembly typescriptSourceMapReader.dll from

<SystemDrive>\Program Files(x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies

to the same location on the drive where Visual Studio is installed.
Relaunching VS after doing this should fix the issue.

like image 198
Ellen Avatar answered Sep 30 '22 07:09

Ellen