Hi all,
 
I'm trying to compile NPlot.Gtk using VS.NET and it says that some dlls are not CLS-compliant.
If I turn off an option [assembly: CLSCompliant(true)] in the AssemblyInfo.cs file -
everything compiles fine.
 
But I'm wonderung why it happens:

nplot.gtk\src\gtk.plotsurface2d.cs(41,42): error CS3001: Argument type 'Gdk.EventExpose' is not CLS-compliant
nplot.gtk\src\gtk.plotsurface2d.cs(54,44): error CS3001: Argument type ' Gdk.Rectangle' is not CLS-compliant
nplot.gtk\src\gtk.plotsurface2d.cs(11,15): error CS3009: 'NPlot.Gtk.PlotSurface2D': base type 'Gtk.DrawingArea' is not CLS-compliant
NPlot.Gtk\bin\Debug\gtk-sharp.dll: (Related file)
nplot.gtk\src\gtk.plotsurface2d.cs(11,15): error CS3009: 'NPlot.Gtk.PlotSurface2D': base type 'Gtk.Widget' is not CLS-compliant
NPlot.Gtk\bin\Debug\gtk-sharp.dll: (Related file)
nplot.gtk\src\gtk.plotsurface2d.cs(11,15): error CS3009: 'NPlot.Gtk.PlotSurface2D': base type 'Gtk.Object' is not CLS-compliant
NPlot.Gtk\bin\Debug\gtk-sharp.dll: (Related file)
nplot.gtk\src\gtk.plotsurface2d.cs(11,15): error CS3009: 'NPlot.Gtk.PlotSurface2D': base type 'GLib.Object' is not CLS-compliant
NPlot.Gtk\bin\Debug\glib-sharp.dll: (Related file)
nplot.gtk\src\sysdraw.cs(24,55): error CS3001: Argument type 'Gdk.Drawable' is not CLS-compliant

--Gena

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to