[Mono-bugs] [Bug 37187][Nor] Changed - mcs doesn't search libraries in /lib on windows by default
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Fri, 24 Jan 2003 10:30:13 -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 danmorg@sc.rr.com.
http://bugzilla.ximian.com/show_bug.cgi?id=37187
--- shadow/37187 Fri Jan 24 10:12:50 2003
+++ shadow/37187.tmp.22974 Fri Jan 24 10:30:13 2003
@@ -1,14 +1,14 @@
Bug#: 37187
Product: Mono/MCS
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: groith@tcrz.net
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -60,6 +60,47 @@
------- Additional Comments From groith@tcrz.net 2003-01-24 10:12 -------
*** Bug 37185 has been marked as a duplicate of this bug. ***
------- Additional Comments From groith@tcrz.net 2003-01-24 10:12 -------
*** Bug 37186 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From danmorg@sc.rr.com 2003-01-24 10:30 -------
+For me, when i need to compile a test application that uses an
+ADO.NET provider on windows, i have to explicitly specify the path
+to the mcs.exe binary on mono. For some reason, the mcs shelll
+script doesn't always work.
+
+On Windows via Cygwin, I do:
+mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
+ MyTestApp.cs \
+ -lib:C:/cygwin/home/MyHome/mono/install/lib \
+ -r System.Data.dll -r Mono.Data.MySql.dll
+
+On Linux, I do:
+mcs MyTestApp.cs \
+ -r System.Data.dll -r Mono.Data.MySql.dll
+
+If i do specify
+"mcs"
+instead of
+"mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe"
+I get the following errors:
+
+DanielMorgan@DANPC ~/mono/mcs/class/Mono.Data.MySql/Test
+$ mcs MySqlTest.cs -r System.Data.dll -r Mono.Data.MySql.dll
+MySqlTest.cs(486) error CS0030: Cannot convert
+type 'System.Data.IDbConnection'
+to 'Mono.Data.MySql.MySqlConnection'
+MySqlTest.cs(513) error CS1502: The best overloaded match for
+method 'void Test.
+Mono.Data.MySql.MySqlTest.PerformTest (System.Data.IDbConnection)'
+has some inva
+lid arguments
+MySqlTest.cs(513) error CS1503: Argument 1: Cannot convert
+from 'Mono.Data.MySql
+.MySqlConnection' to 'System.Data.IDbConnection'
+MySqlTest.cs(513) error CS-0006: Could not find any applicable
+function for this
+ argument list
+Compilation failed: 4 error(s), 0 warnings
+