[Mono-bugs] [Bug 77141][Nor] New - error CS0016 when compiling in a root directory on Windows

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 3 05:14:21 EST 2006


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 kornelpal at hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77141

--- shadow/77141	2006-01-03 05:14:21.000000000 -0500
+++ shadow/77141.tmp.13233	2006-01-03 05:14:21.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 77141
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: kornelpal at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: error CS0016 when compiling in a root directory on Windows
+
+When the current directory is the root directory of a drive error CS0016 
+is thrown because of some incorrect path handling.
+
+C:\>mcs Class1.cs
+error CS0016: Could not write to file `Class1.exe', cause: Win32 IO 
+returned ERROR_INVALID_NAME. Path: C:\C:
+Compilation failed: 1 error(s), 0 warnings
+
+C:\>mcs Class1.cs /out:x.x
+error CS0016: Could not write to file `x.x', cause: Win32 IO returned 
+ERROR_INVALID_NAME. Path: C:\C:
+Compilation failed: 1 error(s), 0 warnings


More information about the mono-bugs mailing list