[Mono-dev] FileSystemWatcher on Windows (compared to .NET4)

kpfaulkner ken.faulkner at gmail.com
Mon Feb 7 17:28:57 EST 2011


I've noticed that the results for "renamed" and "delete" events on mono
(2.8.2) and "native" .NET 4 are different.

If I rename a directory for example I get:

 - mono  I get a bunch of delete and create's...  which is fairly useful.
 - .NET 4 I get a simple "renamed" event for the parent directory. No
information about the contents.

Although I find monos results far more useful (means I dont have to code up
the subdir listing to get filenames myself) I'm thinking that
compatibility/consistency with "real" .NET is more important.

Could someone tell me if this is an intentional difference, or whether this
is simply a bug that I need to register.

(delete has similar situation).



View this message in context: http://mono.1490590.n4.nabble.com/FileSystemWatcher-on-Windows-compared-to-NET4-tp3265308p3265308.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list