For some mysterious reason, all of a sudden when I publish my website, Web.config does not get coppied over.
At first when I saw that the properties of Web.config was set to "Do not copy", that seemed like the reason... but when I change the option, it doesn't stick.
Is there some shortcut key or some global TFS setting that might effect this?
This has never happened before...
Apparently, if you look at "Properties", there is an option called "Build Action" ... set this to "Content" if you would like this file to be coppied over on Publish. If not, select "None"
Reference: http://forums.asp.net/p/1528920/3698633.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With