【发布时间】:2011-09-24 03:49:45
【问题描述】:
我的 Visual Studio 应用程序中有一个名为 app.config 的配置文件。
<add key="Duration" value="3"/><!-- i will edit value as 2 in this file-->
到目前为止,我在记事本中进行了编辑并且工作正常,但我尝试使用 word pad.Here 我是
出现类似“'System.Windows.Application' 的类型初始化程序抛出异常
exception.” 和类似“应用程序配置文件”App.config“的错误是无效的。
给定编码中的字符无效。”任何人都告诉我为什么会有什么问题
方法。如何纠正。请回答这个问题。
提前致谢。
【问题讨论】:
标签: c# .net visual-studio-2008 app-config configuration-files