Why FileSystemWatcher doesn't work in Linux container watching Windows volume
问题 Given the program: using System; using System.IO; namespace fsw_bug_poc { class Program { private static FileSystemWatcher _fileSystemWatcher; static void Main(string[] args) { _fileSystemWatcher = new FileSystemWatcher("Watched", "*.*"); _fileSystemWatcher.Changed += Notify; _fileSystemWatcher.Created += Notify; _fileSystemWatcher.Deleted += Notify; _fileSystemWatcher.Renamed += Notify; _fileSystemWatcher.IncludeSubdirectories = true; _fileSystemWatcher.EnableRaisingEvents = true; Console