引用自MSDN的回复:“Your app.config is probably named incorrectly. It should be named according to the executing assembly. For instance, if your program is "Program.exe", the app.config should be named "Program.exe.config", and should reside in the same directory as Program.exe.”