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

Marek Habersack grendel at twistedcode.net
Thu Jul 23 03:51:09 EDT 2009


Bharti Mishra wrote:
> hi,
Hey,

> 
>     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 :

---- explanation ----
> "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.""
---- explanation ----
> 
>   please explain me the way to enable asp.net 1.0 in mono2.4.2.
> and explain me this error.
Explanation is shown above, right in the error message.

marek


More information about the Mono-list mailing list