服务器端文件监控
将当前项目工程版本的.net framework 文件夹下的installUtil.exe 复制到工程文件夹:e:/project/watcherService/bin/release(debug)/下,执行
cmd
cd e:/project/watcherService/bin/release(debug)/
installUtil BbsFileWatcher.exe
cmd
cd e:/project/watcherService/bin/release(debug)/
installUtil BbsFileWatcher.exe -u
services.msc
bbsWatcher 设置为自动