tomboy-notes / tomboy

This is the legacy development for Tomboy.
http://projects.gnome.org/tomboy
GNU Lesser General Public License v2.1
126 stars 25 forks source link

[Ubuntu 16.04] debug failed under MonoDevelop #74

Open yuxitao opened 6 years ago

yuxitao commented 6 years ago

Hello,fellas. I'm trying to debug my tomboy app under monodevelop (mono5.2). and it output these errors:

System.TypeInitializationException: The type initializer for 'Tomboy.Logger' threw an exception. ---> System.EntryPointNotFoundException: AttachConsole at at (wrapper managed-to-native) Tomboy.ConsoleLogger:AttachConsole (uint) at Tomboy.ConsoleLogger..ctor () [0x00006] in /home/yu/tomboy/Tomboy/Logger.cs:32 at Tomboy.FileLogger..ctor () [0x00006] in /home/yu/tomboy/Tomboy/Logger.cs:64 at Tomboy.Logger..cctor () [0x00006] in /home/yu/tomboy/Tomboy/Logger.cs:130 --- End of inner exception stack trace --- at Tomboy.Tomboy.Main (System.String[] args) [0x0013b] in /home/yu/tomboy/Tomboy/Tomboy.cs:73

anyone have an idea ? Thanks a lot.

WisniowskiPiotr commented 6 years ago

any solution?