[Mono-dev] System.IO.Directory.CreateDirectory bug!

Cedric Vivier cedricv at neonux.com
Fri Dec 15 18:09:01 EST 2006

> The problem is: if i create a file in somewhere with some name, and then
> create a folder in the same place with the same (file) name, the folder is
> not created (wich is correct) but no exception is throw. This is correct?


According to MSDN documentation this is correct behavior :
"The path parameter specifies a directory path, not a file path. If the
directory already exists, this method does nothing."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061216/dfec83f7/attachment.html 

More information about the Mono-devel-list mailing list