2017-05-12 58 views
2

我最近更新了Xamarin Android(版本4.5.0.443)。當我通過Visual Studio部署代碼時,應用程序安裝成功,但由於以下問題,我無法調試。與調試器的連接已丟失

有沒有人有任何想法?

The connection with the debugger has been lost. The target application may have exited. 
System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified. 
File name: 'Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' 
    at Mono.Debugging.Soft.SoftDebuggerSession.CheckBetterMatch(TypeMirror type, String file, Int32 line, Int32 column, Location found) 
    at Mono.Debugging.Soft.SoftDebuggerSession.FindLocationByMethod(MethodMirror method, String file, Int32 line, Int32 column, Boolean& insideTypeRange) 
    at Mono.Debugging.Soft.SoftDebuggerSession.FindLocationByType(TypeMirror type, String file, Int32 line, Int32 column, Boolean& genericMethod, Boolean& insideTypeRange) 
    at Mono.Debugging.Soft.SoftDebuggerSession.ResolveBreakpoints(TypeMirror type) 
    at Mono.Debugging.Soft.SoftDebuggerSession.HandleTypeLoadEvents(TypeLoadEvent[] events) 
    at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es) 
    at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler() 

下面的軟件包已經納入我的項目 enter image description here

+0

[你想使用這個庫](https://github.com/jbevain/cecil)?谷歌似乎是一個包名 – Zoe

+0

我已經添加了包到我的問題,請檢查。 – hotspring

+0

據我瞭解,調試器遇到錯誤。重新啓動您的IDE(也許是電腦),並嘗試再次調試 – Zoe

回答

0

我是有最新Xamarin更新了同樣的問題,我使用Visual Studio 2015和問題安裝Visual Studio更新3後得到解決。