App.Config Ignored After Pre-Build Event

六眼飞鱼酱① 提交于 2019-12-06 09:46:18

It sounds like your app.config shouldn't be under source control - just the build-configuration-specific configuration files (app.config.dev, app.config.qa, etc.).

Having said that, you can make checked-in files writable under VSS. For example, through windows explorer, uncheck the file's "Read-only" attribute. (You'll have to do this each time you check it in.)

Leaving the .config files checked-in has one side-effect, the files stay read-only. Which has one side-effect, you cannot copy a file over a read-only file and you can't delete it. Which goes a long way towards explaining why you can't make it work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!