[Mono-dev] VB ASP.NET

Kornél Pál kornelpal at hotmail.com
Wed Dec 14 08:18:24 EST 2005


>> Server Error in '/vb' Application
>> Compilation Error
>> Description: Error compiling a resource required to service this
>> request. Review your source file and modify it to fix this error.
> <snip/>
>> Should ASP.Mono work with VB or not?
>
> Last I knew, Mono's VB compiler was not being worked on full time (if at
> all), and was very flaky, and is incomplete.  It is not a recommended
> solution at this time.

I recommend to use codebehind files (no code in .aspx files) and compile
them to a DLL assembly using MS Visual Studio or MS vbc.exe. The resulting
DLL will be compatible with Mono as it's VB runtime is highly MS compatible.
In addition you should set default compiler language to C# either in
Web.config or in .aspx files to avoid CodeDom with VB as well.

Kornél




More information about the Mono-devel-list mailing list