Are you sure the FileSystemWatcher instance you're using is raising the
event as expected? I've used them for this same scenario in the past for
services I've written, and found that the events I expected to be raised
depended upon which application was editing the config file. IE: Notepad
fires the Changed event when editing the file, while Visual Studio uses a
temporary file and then deletes and recreates the file when saved which
won't fire the Changed event.
You might want to start looking at adding event handlers for all the events,
and test them individually to see which events are being raised and which
ones aren't. More than likely that's the problem you're having.
"Jeff Mason"
comcast.net> wrote in message
news:ihhs6490pvraea377lj6rvf5sq19ar5ims@4ax.com...