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).
精彩评论