[Mono-list] VB? Or just C#?

David P. Donahue ddonahue@ccs.neu.edu
Fri, 8 Oct 2004 20:51:21 -0400


I managed to make the same small test page on a machine running Visual
Studio .NET 2003, just to test the updated Microsoft.VisualBasic.dll and
see if that solved the problem.  Now when I try to browse to the page
(which is just a button and a label) I get the following error page:

------------------------------------------------------------------------
----
Server Error in '/gwcc/test' Application
Compilation Error
Description: Error compiling a resource required to service this
request. Review your source file and modify it to fix this error.

Error message: (0,0) : error : THIS IS STILL ALPHA AND UNSUPPORTED
SOFTWARE, USE AT YOUR OWN RISK.

File name: /home/www/.www/gwcc/test/Global.asax

Source File:

Line 1: No assembly returned after compilation!?
------------------------------------------------------------------------
----

Also, I don't know if I mentioned this before or if it makes a
difference, but I'm running mod_mono in Apache 1.3.31 on Slackware 10.0.

What could be causing this?


Regards,
David P. Donahue
ddonahue@ccs.neu.edu




> -----Original Message-----
> From: B Anirban [mailto:banirban@novell.com]=20
> Sent: Monday, October 04, 2004 5:25 AM
> To: ddonahue@ccs.neu.edu; mono-list@lists.ximian.com
> Subject: RE: [Mono-list] VB? Or just C#?
>=20
>=20
> Hi David,
>=20
> This problem is occurring since you have an older version of=20
> Microsoft.VisualBasic dll.
> And mono is not yet equipped for remapping this assembly to=20
> the newer version automatically. Please report bug in=20
> bugzilla (bugzilla.ximian.com) on this against mbas.
>=20
> Thanks.
> Anirban.
>=20
> >>> "David P. Donahue" <ddonahue@ccs.neu.edu> 04-Oct-04 12:45:52 AM
> >>>
> I just wrote a very, very simple ASP .NET project in using VB=20
> .NET in Visual Studio .NET and tried to run it on mono.  The=20
> project is just one page with a button that, when pressed,=20
> changes a label.  I created the page on the localhost on my=20
> Windows XP machine, build the solution in Visual Studio, then=20
> copied all the files to a folder shared by my Apache server=20
> (running mono) on my Linux box.  When I attempt to access the=20
> page, I get a stack trace that ends with a "file not found"=20
> error for the .dll (even though it is there) and see the=20
> following in my Apache error log:
>=20
> ** (/usr/local/bin/mod-mono-server.exe:10038): WARNING **:=20
> Could not find assembly Microsoft.VisualBasic, references=20
> from /home/www/.www/gwcc/test/bin/gwcc.dll (assemblyref_index=3D1)
>      Major/Minor: 7,0
>      Build:       3300,0
>      Token:       b03f5f7f11d50a3a
>=20
> Should this be happening, or am I doing something wrong?
>=20
>=20
> Regards,
> David P. Donahue
> ddonahue@ccs.neu.edu=20
>=20
>=20
>=20
>=20
> > -----Original Message-----
> > From: Juan Crist=F3bal Olivares [mailto:jc.olivares@pad.cl]
> > Sent: Sunday, September 12, 2004 4:16 PM
> > To: David P. Donahue; mono-list@lists.ximian.com=20
> > Subject: Re: [Mono-list] VB? Or just C#?
> >=20
> >=20
> > Mono does not have a VB.NET compiller. You could compile your
> > VB.NET site with .NET (Windows) and the run it with Mono.
> >=20
> > Juan Crist=F3bal Olivares
> >=20
> > ----- Original Message -----
> > From: "David P. Donahue" <ddonahue@ccs.neu.edu>
> > To: <mono-list@lists.ximian.com>
> > Sent: Saturday, September 11, 2004 7:49 PM
> > Subject: [Mono-list] VB? Or just C#?
> >=20
> >=20
> > > Can Mono compile ASP .NET websites written in VB, or is it
> > limited to
> > > only C#?  If it can, I'm having trouble finding documentation on
> > > how...
> > >
> > >
> > > David P. Donahue
> > >
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list@lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list=20
> >=20
> >=20
>=20
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com=20
> http://lists.ximian.com/mailman/listinfo/mono-list
>=20