[MonoDevelop] Stetic bug??

Fredrik Nilsson jymdman at gmail.com
Wed Aug 9 13:20:57 EDT 2006


Hi,

I am implementing a simple DateTimePicker for a project I code.
I created a new widget in MD so I can use it in different places in my 
project.
The problem is that when implementing a getter/setter function Stetic 
complains.
The function look like this:

public DateTime Date {
get {
    return datetime;
}

set {
    datetime = value;
}
}

The build output look like this:

Building Project: Order Configuration: Debug
Generating stetic code...

Build failed. Invalid Primitive Type: System.DateTime. Only CLS 
compliant primitive types can be used. Consider using 
CodeObjectCreateExpression.


If I remove the setter function everything works ok.
Is this a Stetic bug, or do I have to work around it with a normal 
function like  Date (DateTime date) ??


Oh, and another thing I noticed.
I want to use a button with an arrow inside, I put a button on my form 
and set the Button Type to Custom, and then I add a arrow to the button. 
But after I do a compile the arrow disappears. Known problem??


/Fredrik


More information about the Monodevelop-list mailing list