Author: miguel
Date: 2006-12-04 11:32:15 -0500 (Mon, 04 Dec 2006)
New Revision: 68965

Modified:
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic/Interaction.vb
   trunk/mono-basic/vbruntime/VB.build.bat
Log:
Correct fix.   Use System.Drawing.dll in the command line (System.Drawing alone 
failed, my fault).

Remove ifdefs around the code.

Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic/Interaction.vb
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic/Interaction.vb
       2006-12-04 16:26:02 UTC (rev 68964)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic/Interaction.vb
       2006-12-04 16:32:15 UTC (rev 68965)
@@ -183,7 +183,6 @@
             Public Sub New(ByVal Prompt As String, Optional ByVal Title As 
String = "", Optional ByVal DefaultResponse As String = "", Optional ByVal XPos 
As Integer = -1, Optional ByVal YPos As Integer = -1)
                 SuspendLayout()
 
-#if NET_2_0 = True Then
                 Text = Title
                 ClientSize = New Size(400, 120)
 
@@ -208,7 +207,6 @@
                 Controls.Add(bok)
                 Controls.Add(bcancel)
                 Controls.Add(entry)
-#end if
                 ResumeLayout(False)
             End Sub
 

Modified: trunk/mono-basic/vbruntime/VB.build.bat
===================================================================
--- trunk/mono-basic/vbruntime/VB.build.bat     2006-12-04 16:26:02 UTC (rev 
68964)
+++ trunk/mono-basic/vbruntime/VB.build.bat     2006-12-04 16:32:15 UTC (rev 
68965)
@@ -145,7 +145,7 @@
 resgen strings.txt
 rem TODO: replace vbc with C:\cygwin\monobuild\vbnc\vbnc\bin\vbnc.exe 
 echo on
-vbc -target:library -optionstrict+ -out:..\bin\Microsoft.VisualBasic.dll 
-novbruntimeref %VB_COMPILE_OPTIONS% %VB_COMPILE_OPTIONS_J2EE% -r:mscorlib.dll 
-r:System.dll -r:System.Windows.Forms.dll -keyfile:msfinal.pub 
/res:strings.resources %VB_SOURCES% >>%BUILD_LOG% 2<&1
+vbc -target:library -optionstrict+ -out:..\bin\Microsoft.VisualBasic.dll 
-novbruntimeref %VB_COMPILE_OPTIONS% %VB_COMPILE_OPTIONS_J2EE% -r:mscorlib.dll 
-r:System.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll 
-keyfile:msfinal.pub /res:strings.resources %VB_SOURCES% 
 IF %ERRORLEVEL% NEQ 0 GOTO EXCEPTION
 
 :FINALLY

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to