Monodevelop F#绑定无法添加

时间:2011-02-17 07:24:52

标签: f# mono monodevelop

使用本地和在线存储库添加F#绑定 - 同样的错误。

Monodevelop:2.4.2.1

GTK锋利2.12.10.win32

MonoDevelop.FSharpBinding_2.4

Windows OS

错误堆栈:

System.Reflection.TargetInvocationException: target of an invocation throws an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This often indicates that other memory is corrupt.
       в Gtk.Application.gtk_main_iteration()
       в Gtk.Application.RunIteration()
       в Mono.Addins.Gui.InstallMonitor.WaitForCompleted()
       в Mono.Addins.Gui.AddinInstallDialog.Install()
       в Mono.Addins.Gui.AddinInstallDialog.OnPageChanged()
       в Mono.Addins.Gui.AddinInstallDialog.OnNextPage(Object sender, EventArgs e)

       --- end of internal stack ---

       в System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       в System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       в System.Delegate.DynamicInvokeImpl(Object[] args)
       в GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
       в GLib.SignalClosure.Invoke(ClosureInvokedArgs args)
       в GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)

也许我需要尝试从主干开发?

1 个答案:

答案 0 :(得分:2)

在Windows上为MonoDevelop安装F#时,我看到了这个错误。不幸的是,这是Windows上MonoDevelop的reported bug。解决方法是手动将程序集复制到MonoDevelop安装目录。

我在project homepage添加了一些信息。 (请参阅“在Windows上为MonoDevelop安装F#”)。