Hi, (1) When I run test.exe (compiled with csc) with NPlot.Gtk.dll (compiled with csc), it works fine.
(2) When I run test.exe (compiled with mcs) with NPlot.Gtk.dll (compiled with csc), I got this error. Unhandled Exception: System.BadImageFormatException: The format of the file 'NPl ot.Gtk' is invalid. File name: "NPlot.Gtk" at X.Main() === Pre-bind state information === LOG: DisplayName = NPlot.Gtk, Version=0.9.9.0, Culture=neutral, PublicKeyToken=null (Fully-specified) LOG: Appbase = E:\ivan\temp\NPlot-0.9.9\demoGtkNPlot\ LOG: Initial PrivatePath = NULL Calling assembly : test, Version=0.9.9.0, Culture=neutral, PublicKeyToken=null. === LOG: Policy not being applied to reference at this time (private, custom, partia l, or location-based assembly bind). LOG: Post-policy reference: NPlot.Gtk, Version=0.9.9.0, Culture=neutral, PublicKeyToken=null LOG: Attempting download of new URL file:///E:/ivan/temp/NPlot-0.9.9/demoGtkNPlot/NPlot.Gtk.DLL. (3) When I run test.exe (compiled with csc) with NPlot.Gtk.dll (compiled with msc), I got the same error. (4) When I run test.exe (compiled with mcs) with NPlot.Gtk.dll (compiled with msc), I got the same error. Anyone knows what can cause this error to happen? Currently I suspect I need to include application configuration (test.exe.config). But how? Ivan. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
