Linked by Thom Holwerda on Thu 9th Nov 2006 23:18 UTC
Thread beginning with comment 181228
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.




Member since:
2005-10-01
So I've taken a little utility I've written on Windows and tries to run it (using the already compiled assembly).
It worked, although mono doesn't seem to implement the AutoSize property for labels.
I then tried to compile the application using mono. Unfortunately I got plenty of errors.
MainForm.cs(32,4): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `SetCompatibleTextRenderingDefault'
MainForm.Designer.cs(75,4): error CS0117: `System.Windows.Forms.ListBox' does not contain a definition for `FormattingEnabled'
MainForm.Designer.cs(100,4): error CS0117: `System.Windows.Forms.Button' does not contain a definition for `UseVisualStyleBackColor'
MainForm.Designer.cs(112,4): error CS0117: `System.Windows.Forms.Button' does not contain a definition for `UseVisualStyleBackColor'
MainForm.Designer.cs(135,4): error CS0117: `System.Windows.Forms.Button' does not contain a definition for `UseVisualStyleBackColor'
MainForm.Designer.cs(158,4): error CS0117: `System.Windows.Forms.Button' does not contain a definition for `UseVisualStyleBackColor'
MainForm.Designer.cs(163,4): error CS0117: `FolderMerger.MainForm' does not contain a definition for `AutoScaleDimensions'
MainForm.Designer.cs(164,25): error CS0234: The type or namespace name `AutoScaleMode' does not exist in the namespace `System.Windows.Forms'. Are you missing an assembly reference?
MainForm.Designer.cs(164,4): error CS0117: `FolderMerger.MainForm' does not contain a definition for `AutoScaleMode'
To be honest, I built this application on SharpDevelop, using the .NET 2.0 framework. However, I haven't (to my knowledge) used any .NET 2.0 abilities in my application (if these error messages say otherwise, please correct me).
So I'm afraid that Mono is not quite there yet. To me it still seems that Windows.Forms is incomplete.
Edited 2006-11-11 09:15