[Mono-bugs] [Bug 73204][Min] New - XSP compiled page with C# instead of VB.NET
Wed, 2 Mar 2005 05:58:17 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by firstname.lastname@example.org.
--- shadow/73204 2005-03-02 05:58:17.000000000 -0500
+++ shadow/73204.tmp.30621 2005-03-02 05:58:17.000000000 -0500
@@ -0,0 +1,68 @@
+Product: Mono: Class Libraries
+OS: Red Hat 9.0
+Summary: XSP compiled page with C# instead of VB.NET
+Description of Problem:
+I've tried to tell XSP to compile VB.NET, but it always compiles C#,
+This I tried in aspx file:
+ <%@ Page Language="VB" %>
+In web.config in root dir, the XSP doesn't recognize my defaultLanguage
+attribute for VB
+ <compilation defaultLanguage="vb" debug="false"/>
+Here is a small test.aspx file for your own testing:
+<%@ Page language="vb" %>
+<% Response.Write("3") %>
+<%= Now %>
+<% 'Response.Write ("jjkjk") %>
+Nothing happend. Always C#.
+Then I stopped XSP and restarted it again, and VB.NET has been launched! :D
+I wonder why it hadn't happened the first time. Maybe because the webroot
+folder was completely empty when I started the XSP and then I copied
+some .aspx and .dll files into it.
+I hope, you'll get an idea from what I've done and where possible problems
+in XSP might be.
+Steps to reproduce the problem:
+compilation with C#
+compilation with VB
+How often does this happen?
+till now: once only