зеркало из https://github.com/mono/mail-archives.git
110 строки
4.6 KiB
HTML
110 строки
4.6 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [Mono-osx] Can't compile any VB.NET code
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Can%27t%20compile%20any%20VB.NET%20code&In-Reply-To=">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="001263.html">
|
||
|
<LINK REL="Next" HREF="001265.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[Mono-osx] Can't compile any VB.NET code</H1>
|
||
|
<B>Hess, Philip J</B>
|
||
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Can%27t%20compile%20any%20VB.NET%20code&In-Reply-To="
|
||
|
TITLE="[Mono-osx] Can't compile any VB.NET code">pjhess at purdue.edu
|
||
|
</A><BR>
|
||
|
<I>Wed Mar 5 20:38:04 EST 2008</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="001263.html">[Mono-osx] Unhandled Exception: System.Reflection.ReflectionTypeLoadException
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="001265.html">[Mono-osx] Can't compile any VB.NET code
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#1264">[ date ]</a>
|
||
|
<a href="thread.html#1264">[ thread ]</a>
|
||
|
<a href="subject.html#1264">[ subject ]</a>
|
||
|
<a href="author.html#1264">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>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:
|
||
|
|
||
|
<A HREF="http://lists.ximian.com/pipermail/mono-vb/2008-February.txt">http://lists.ximian.com/pipermail/mono-vb/2008-February.txt</A>
|
||
|
|
||
|
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
|
||
|
-------------- next part --------------
|
||
|
An HTML attachment was scrubbed...
|
||
|
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20080305/4123e4f9/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20080305/4123e4f9/attachment.html</A>
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="001263.html">[Mono-osx] Unhandled Exception: System.Reflection.ReflectionTypeLoadException
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="001265.html">[Mono-osx] Can't compile any VB.NET code
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#1264">[ date ]</a>
|
||
|
<a href="thread.html#1264">[ thread ]</a>
|
||
|
<a href="subject.html#1264">[ subject ]</a>
|
||
|
<a href="author.html#1264">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
|
||
|
<hr>
|
||
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
||
|
mailing list</a><br>
|
||
|
</body></html>
|