这样就会在项目中添加了App.config配置
内容:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <!-- User application and configured property settings go here.--> <!-- Example: <add key="settingName" value="settingValue"/> --> <add key="XX" value="XX"></add> </appSettings> </configuration>