开发者

Changes to xml file not being recognized - ASP.NET

I read a xml file (myConfig.config) and provide it as an input to a CLR method. When I make changes开发者_如何学Go to this xml file, it doesn't seem to be recognizing it. When this line throws an error, I always see the first version of the file as a part of the error message.

In the config file properties, I have set Copy to Output Directory as Copy always, but it still doesn't seem to work.

Any thoughts?


Copy Always works for windows where the BIN file contains the exe; you don't need that for web sites necessarily... What does your code look like? Where does the save occur?


I got this to work by doing a "Copy if newer" option

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜