[Mono-dev] System.IO.Path: inconsistent paths from Windows clients

subscription.sapi subscription.sapi at apsystems.it
Mon Jun 26 11:16:46 EDT 2006


I've different behavior in ms.net framework and mono framework when I
use methods in "System.IO.Path" class.

 

Test Case Description:

 

Microsoft .net framework:

Input path: D:\R&D\doc\jd\StandardJD.doc

Output path: 

Path.GetFileName                               StandardJD.doc
Path.GetDirectoryName                       D:\R&D\doc\jd
Path.GetFileNameWithoutExtension      StandardJD
Path.GetPathRoot                              D:\

 

MONO:

Input path: D:\R&D\doc\jd\StandardJD.doc

Output path: 

Path.GetFileName
D:\R&D\doc\jd\StandardJD.doc
Path.GetDirectoryName                       
Path.GetFileNameWithoutExtension      D:\R&D\doc\jd\StandardJD
Path.GetPathRoot                               

 

Thank you.

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


More information about the Mono-devel-list mailing list