Windowsマシン上でVisual Studio 2015を使用して、Raspberry Pie 3(Raspbian Jessieを実行中)でC#.NET 4.5 WinFormsアプリケーションをリモートデバッグしようとしています。Visual Studio 2015を使用してRaspberry Pi 3でC#.NET 4.5 WinFormsアプリケーションをリモートでデバッグするにはどうすればよいですか?
私が理解しているように、これにはMonoRemoteDebuggerを使用できます。私はVisual Studio拡張をインストールし、Piでサーバープログラムを実行しましたが、アプリケーションをデバッグしようとすると、MonoRemoteDebugger.Server.exeプログラムはpdb2mdb.exeプログラムからのエラーを表示します。ここでエラーです:私はパイの「myprogram.exeというpdb2mdb」コマンドを実行しようとしました
Fatal error: Microsoft.Cci.Pdb.PdbDebugException: Unknown custom metadata item kind: 6 at Microsoft.Cci.Pdb.PdbFunction.ReadCustomMetadata (Microsoft.Cci.Pdb.BitAccess bits) [0x00000] in :0
at Microsoft.Cci.Pdb.PdbFunction..ctor (System.String module, ManProcSym proc, Microsoft.Cci.Pdb.BitAccess bits) [0x00000] in :0 at Microsoft.Cci.Pdb.PdbFunction.LoadManagedFunctions (System.String module, Microsoft.Cci.Pdb.BitAccess bits, UInt32 limit, Boolean readStrings) [0x00000] in :0 at Microsoft.Cci.Pdb.PdbFile.LoadFuncsFromDbiModule (Microsoft.Cci.Pdb.BitAccess bits, Microsoft.Cci.Pdb.DbiModuleInfo info, Microsoft.Cci.Pdb.IntHashTable names, System.Collections.ArrayList funcList, Boolean readStrings, Microsoft.Cci.Pdb.MsfDirectory dir, System.Collections.Generic.Dictionary`2 nameIndex, Microsoft.Cci.Pdb.PdbReader reader) [0x00000] in :0 at Microsoft.Cci.Pdb.PdbFile.LoadFunctions (System.IO.Stream read, Microsoft.Cci.Pdb.BitAccess bits, Boolean readAllStrings) [0x00000] in :0 at Microsoft.Cci.Pdb.PdbFile.LoadFunctions (System.IO.Stream read, Boolean readAllStrings) [0x00000] in :0 at Pdb2Mdb.Driver.Convert (Mono.Cecil.AssemblyDefinition assembly, System.IO.Stream pdb, Mono.CompilerServices.SymbolWriter.MonoSymbolWriter mdb) [0x00000] in :0
、問題がpdb2mdb.exeプログラムであることが表示されますので、それは同じエラーを生成します。これはMono.Cecilのバグで、バージョン0.9.6ではwas fixedでしたが、Raspian Jessieの最新バージョンが0.9.5であるようです。
私はちょうどthe one from hereでpdb2mdb.exeを交換しようとしたとエラーが、その後に変更されます。
Unhandled Exception: System.TypeLoadException: Could not load type 'Mono.Cecil.AssemblyDefinition' from assembly 'pdb2mdb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Mono.Cecil.AssemblyDefinition' from assembly 'pdb2mdb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
はパイの新しいMono.Cecilバージョンを取得しようとするソリューションですか?もしそうなら、どのようにすればpdb2mdb.exeが新しいバージョンを参照するようにするのでしょうか?