[Mono-bugs] [Bug 55586][Nor] New - Paths with # in them fail

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Mar 2004 08:29:06 -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 mwh@sysrq.dk.

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

--- shadow/55586	2004-03-15 08:29:06.000000000 -0500
+++ shadow/55586.tmp.25407	2004-03-15 08:29:06.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 55586
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Mono-0.30.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mwh@sysrq.dk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Paths with # in them fail
+
+I have a path like this
+
+/home/user/c#/myproject
+
+In this path I try to run soapsuds on some assembly and it fails, here is
+the stack trace:
+
+Mono SOAPSUDS Tool
+ 
+ERROR: Directory not found
+System.IO.DirectoryNotFoundException: Directory not found
+in <0x001c4> System.IO.StreamWriter:.ctor
+(string,bool,System.Text.Encoding,int)
+in <0x00031> System.IO.StreamWriter:.ctor (string)
+in <0x00056> (wrapper remoting-invoke-with-check)
+System.IO.StreamWriter:.ctor (string)
+in <0x00077> System.Runtime.Remoting.MetadataServices.CodeFile:Write ()
+in <0x0054f>
+System.Runtime.Remoting.MetadataServices.MetaDataCodeGenerator:GenerateCode
+(bool,string,System.IO.Stream,System.Collections.ArrayList,string,string)
+in <0x00099>
+System.Runtime.Remoting.MetadataServices.MetaData:ConvertSchemaStreamToCodeSourceStream
+(bool,string,System.IO.Stream,System.Collections.ArrayList,string,string)
+in <0x00936> .Driver:Main (string[])
+
+If I move the project dir out of the c# dir, then everything works like a
+charm. Now I guess it is cause System.IO.StreamWriter is having some issues
+with paths containing the # character.