[Mono-list] how to change asp.net version

Veerapuram Varadhan vvaradhan at novell.com
Thu Jul 23 03:51:45 EDT 2009

Hi Bharti,

On Wed, 2009-07-22 at 22:35 -0700, Bharti Mishra wrote:
> hi,
>     I got your reply, but I am not satisfied with your answer.
>     please describe me following error :
>     " I want to migrate vb.net code onto opensuse11.1 platform using
> mono2.4.2. but this mono version support asp.net 2.0 version , and when I
> execute my project through browser it displays mono2.0 asp.net2.0 , but  my
> project uses asp.net 1.0 version. I tried to change asp.net version in mono
> by adding mod-mono-server1 inside mod_mono.conf file. After changing the
> version I got in browser window mono 1.1 asp.net 1.1 , also I got following
> error :
> "Compilation of Visual Basic code is not supported for v1.0/v1.1 assemblies,
> please use the v2.0 assemblies. -If this is a web application, use
> xsp2/mod_mono_server2 instead of xsp/mono_mono_server(see
> http://www.mono-project.com/Mod_mono#ASP.NET_2_apps_do_not_work). -If this
> is a desktop application, use gmcs to compile your application instead of
> mcs.""
Mono doesn't support compilation of vb.net 1.x.  To solve the above
error, pre-compile (complete pre-compilation) your project using MS
Visual Studio 2003 and use the deployed project in Mono using
mod-mono-server1.  This works for most of the cases.


V. Varadhan

More information about the Mono-list mailing list