我正在使用 Ubuntu 14.04 LTS
当我尝试通过命令行运行 Tomboy Notes 时出现以下错误:
$ tomboy
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
我的单声道版本是$ mono --version
Mono JIT compiler version 4.2.1 (Stable 4.2.1.102/6dd2d0d Sun Nov 22 14:45:58 SAST 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
关于如何解决这个问题有什么建议吗?
答案1
[解决]
使用Synaptic Package Manager
我删除了与之相关的所有内容mono
。
tomboy
然后我通过重新安装Ubuntu Software Center
。
安装时tomboy
也会安装mono
,因此现在安装的版本是:
$ mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1.1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
现在一切都好。