2011-02-17 58 views
0

使用本地和聯機存儲庫添加F#綁定 - 相同的錯誤。Monodevelop F#綁定失敗添加

MonoDevelop中:2.4.2.1

GTK鋒利2.12.10.win32

MonoDevelop.FSharpBinding_2.4

窗口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) 

也許我需要嘗試從樹幹monodevelop?

+0

你在使用什麼操作系統? – Bobby 2011-02-17 08:39:10

回答

2

在Windows上安裝F#for MonoDevelop時,我看到了這個錯誤。不幸的是,這是Windows上的MonoDevelop中的reported bug。解決方法是手動將程序集複製到MonoDevelop安裝目錄。

我向project homepage添加了一些信息。 (請參閱「在Windows上爲MonoDevelop安裝F#」)。