开发者

Asp.net Web.config Returns null after Publishing my application

After i publish my web.config i get null reference to all the code that uses the webconfig. What could be happening? I check开发者_开发技巧ed my web.config property and its set to Embedded Resource. Is this how its supposed to be. Help people.


All of my applications have the web.config file with a Build Action of Content and not Embedded Resource. Try changing this and see if that helps.


It should be set to Content (this is the default by the way).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜