[Mono-devel-list] [Fwd: [Mono-patches] r39389 - in trunk/mcs/class/Npgsql: . Npgsql NpgsqlTypes]

Rafael Teixeira monoman at gmail.com
Mon Jan 24 11:56:59 EST 2005


Hi Francisco,

It's more troublesome, we have this:

$ grep Design *.cs

NpgsqlCommand.cs:using Npgsql.Design;
NpgsqlCommand.cs:        [Category("Data"),
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
NpgsqlCommand.cs:        [Browsable(false),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
NpgsqlConnection.cs:using Npgsql.Design;
NpgsqlConnection.cs:        [Editor(typeof(ConnectionStringEditor),
typeof(System.Drawing.Design.UITypeEditor))]
NpgsqlParameterCollection.cs:using Npgsql.Design;
NpgsqlParameterCollection.cs:   
[Editor(typeof(NpgsqlParametersEditor),
typeof(System.Drawing.Design.UITypeEditor))]
NpgsqlParameterCollection.cs:        [Browsable(false),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
NpgsqlParameterCollection.cs:        [Browsable(false),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
NpgsqlParameterCollection.cs:        [Browsable(false),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
NpgsqlParameter.cs:using Npgsql.Design;
NpgsqlParameter.cs:       
[EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false),
DefaultValue(false), DesignOnly(true)]

Can I change it to conditionally compile on a specific define that
would have to be passed in the .build file, but not in the makefile
used by mono?

I'll try it and send you the patches for your approval, my dear Chicão.

CYA,

On Mon, 24 Jan 2005 14:46:03 -0200, Francisco Figueiredo Jr.
<fxjrlists at yahoo.com.br> wrote:
> Atsushi Eno wrote:
> > Hi Fransisco,
> >
> 
> Hi Eno!
> 
> > Maybe with this patch, mcs build on cygwin got broken. The build
> > uses csc and there still seems no Npgsql.Design code.
> >
> 
> Hmmmm, I didn't know mcs on cygwin used csc.
> The Npgsql.Design code should be available.
> Do mcs cygwin uses the Npgsql.dll.sources file?
> I removed the references to Npgsql/Design files from there to prevent
> from compiling.
> 
> > Would you please fix this problem? I have no idea which solution
> > is better.
> >
> 
> I think I will have to remove the references then instead of using
> conditional compilation.
> But I'm at my job now and I won't be able to fix it until I get back
> home at night. +- 6 hours from now.
> 
> Sorry for this problem guys.
> 
> The only file which has this problem is NpgsqlCommand.cs?
> 
> Thanks in advance.
> 
> Regards,
> 
> Francisco Figueiredo Jr.
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.



More information about the Mono-devel-list mailing list