Using FileSystemMonitoring for reading changes in app.config and writing to app.config realtime
问题 I am using FileSystemWatcher to monitor any changes in the app.config file. And also, writing to the config file. Here is my code : MyApplication is the main project and DataCache is a clas library referenced in MyApplication. using System; using System.Threading; using System.IO; namespace MyApplication { public class Program { public static string rootFolderPath = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); public static string configFilePath = Path