[Mono-bugs] [Bug 396301] New: FileSystemWatcher fails to recognize changes in subdirectories

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 2 04:40:31 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=396301


           Summary: FileSystemWatcher fails to recognize changes in
                    subdirectories
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mail at christian-stuempel.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner


A file system watcher object set to watch path downloadFolder and
subdirectories recognizes file deletion and creation in watcher.Path but not in
its sub-directories. I initialize the watcher like this:

this.watcher = new FileSystemWatcher();

watcher.Path = downloadFolder;

watcher.IncludeSubdirectories = true;

watcher.Created += new FileSystemEventHandler(watcher_Created);

watcher.Deleted += new FileSystemEventHandler(watcher_Deleted);

watcher.Renamed += new RenamedEventHandler(watcher_Renamed);


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list