[Mono-osx] Can't compile any VB.NET code

Hess, Philip J pjhess at purdue.edu
Wed Mar 5 21:58:09 EST 2008


Hi Geoff,

Is 0.19 available somewhere in a Mono .dmg? If so, I can't locate it.

I've found some other things that appear to be broken as well, but I'll wait until I try a newer MonoDevelop before reporting them.

Also, for some reason I got the impression from other posts that Mono now had a Mac "native" look to it, but I'm not seeing that:

- MonoDevelop doesn't use Mac menu bar. Instead, has its own menu that uses a teeny, tiny font that I can just barely read.
- Doesn't use standard Mac key mappings (for example, standard Windows Ctrl+C, instead of Cmd+C for copy).
- Odd-looking dialogs. Can't it use the native Mac dialogs? If not, then how will we ever be able to utilize the power of Mac native dialogs (Print, with its preview and PDF output built-in, etc.)?
- Preferences stored in ~/.mono rather than in Mac-standard ~/Library/Preferences.
- No visual tools for designing dialogs, etc.?
- Etc.

Offhand, I really don't see Mac users willingly using software with these limitations.

Thanks.

-Phil



-----Original Message-----
From: Geoff Norton [mailto:gnorton at novell.com]
Sent: Wed 3/5/2008 8:52 PM
To: Hess, Philip J
Cc: mono-osx at lists.ximian.com
Subject: Re: [Mono-osx] Can't compile any VB.NET code
 
This is fixed in 1.9

-g

On 5-Mar-08, at 8:38 PM, Hess, Philip J wrote:

> Even the dummy code from the simple VB console app won't compile:
>
> Public Class application
>         Public Shared Sub Main()
>                 System.Console.WriteLine("Hello world!")
>         End Sub
> End Class
>
> See complete build output below.
>
> I found a similar error report elsewhere:
>
> http://lists.ximian.com/pipermail/mono-vb/2008-February.txt
>
> But I couldn't find any resolution of that reported problem.
>
> I can compile CS console apps, just not VB.NET apps.
>
> Any idea what's wrong with Mono?
>
> PowerPC, OS X 10.4.11, Mono 1.2.6_6 - installed without any problems.
>
> Thanks.
>
> -Phil
>
>
>
> Building Project: vbconsole_test (Debug)
> Performing main compilation...
> vbnc -out:"/Users/philhess/Development/Mono/vbconsole_test/bin/Debug/ 
> vbconsole_test.exe" -nologo -utf8output -target:exe  "/Users/ 
> philhess/Development/Mono/vbconsole_test/application.vb"
>
> ** (/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/ 
> vbnc.exe:878): WARNING **: The class Mono.WebBrowser.DOM.IDocument  
> could not be loaded, used in Mono.Mozilla, Version=0.2.0.0,  
> Culture=neutral, PublicKeyToken=0738eb9f132ed756
>
> ** (/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/ 
> vbnc.exe:878): WARNING **: The class Mono.WebBrowser.DOM.IElement  
> could not be loaded, used in Mono.Mozilla, Version=0.2.0.0,  
> Culture=neutral, PublicKeyToken=0738eb9f132ed756
>
> ** (/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/ 
> vbnc.exe:878): WARNING **: The class Mono.WebBrowser.DOM.IWindow  
> could not be loaded, used in Mono.Mozilla, Version=0.2.0.0,  
> Culture=neutral, PublicKeyToken=0738eb9f132ed756
> Error : VBNC99999: Unexpected error: The classes in the module  
> cannot be loaded.
>   at <0x00000> <unknown method>
>   at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes  
> (bool)
>   at System.Reflection.Assembly.GetTypes () [0x00000] in /private/ 
> tmp/monobuild/build/BUILD/mono-1.2.6/mcs/class/corlib/ 
> System.Reflection/Assembly.cs:326
>   at vbnc.TypeManager.LoadReferencedTypes () [0x00000]
>   at vbnc.TypeManager.LoadReferenced () [0x00000]
>   at vbnc.Compiler.Compile () [0x00000]
> Compilation took 00:00:04.6190320
>
> Build complete -- 0 errors, 0 warnings
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20080305/650bae1b/attachment.html 


More information about the Mono-osx mailing list