Hi, Mono currently has no VB compiler. (vbnc is not part of the release because it's not able to bootstrap on Mono)
Mono has a VB runtime however, so you are able to use binaries compiled using vbc on Windows. You should use C# for inline code in ASP.NET. And compile code to a DLL that you don't want to port to C#. Kornél ----- Original Message ----- From: "Alfredo Torres" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, November 04, 2006 2:04 AM Subject: [mono-vb] XSP-ASP.NET-VB.NET > Hello Everyone, > > I have a question whether the new VB Framework (1.1.17/1.1.18) is capable > of > hosting ASP.NET applications with xsp. I've tried running a simple > ASP.NETapp on Suse Linux > 10.1 that was created in VisualBasic.NET 2003, but it fails. It appears > that there's an attempt to compile code (see below). There was a similar > question back in May 2006 about this issue ( > http://lists.ximian.com/pipermail/mono-list/2006-May/031608.html) that > seem > to go unanswered. A user had an ASP.NET written in VB.NET that worked > with > Mono 1.1.8 and stopped working with 1.1.15. The problem appears similar > to > mine. > > Any insight or hints on this topic would be extremely appreicated! > > Thanks, > Alfredo <:-) > > System.InvalidOperationException: Process has not been started. > at System.Diagnostics.Process.get_ExitCode () [0x00000] > at (wrapper remoting-invoke-with-check) > System.Diagnostics.Process:get_ExitCode () > at Microsoft.VisualBasic.VBCodeCompiler.CompileFromFileBatch > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > fileNames) [0x00000] > at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromFileBatch > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > fileNames) [0x00000] > at Microsoft.VisualBasic.VBCodeCompiler.CompileFromDomBatch > (System.CodeDom.Compiler.CompilerParameters options, > System.CodeDom.CodeCompileUnit[] ea) [0x00000] > at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromDomBatch > (System.CodeDom.Compiler.CompilerParameters options, > System.CodeDom.CodeCompileUnit[] ea) [0x00000] > at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromDom > (System.CodeDom.Compiler.CompilerParameters options, > System.CodeDom.CodeCompileUnit e) [0x00000] > at System.Web.Compilation.CachingCompiler.Compile > (System.Web.Compilation.BaseCompiler compiler) [0x00000] > at System.Web.Compilation.BaseCompiler.GetCompiledType () [0x00000] > at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000] > at System.Web.UI.ApplicationFileParser.GetCompiledApplicationType > (System.String inputFile, System.Web.HttpContext context) [0x00000] > at System.Web.HttpApplicationFactory.InitType > (System.Web.HttpContext context) [0x00000] > at System.Web.HttpApplicationFactory.GetApplication > (System.Web.HttpContext context) [0x00000] > at System.Web.HttpRuntime.RealProcessRequest (System.Object o) [0x00000] > -------------------------------------------------------------------------------- > _______________________________________________ > Mono-vb mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/mono-vb > _______________________________________________ Mono-vb mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-vb
