本文介绍了如何忽略Visual Studio Team Services(不适用于本地服务器)上的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想忽略Team Services版本的文件,例如web.config或app.config.因为它们与用户和本地数据库有关.因此,当我检查所有解决方案时,我想忽略它们.我搜索了一点,但所有信息都与本地服务器有关.因此,我无法应用此解决方案.

I want to ignore files on Team Services version like web.config or app.config.Because they are related with user and local db's. So I wanna ignore them when I check in all solution.I searched little bit but all informations are about local servers. So I can't apply this solutions.

推荐答案

只需添加文件即可在web.config外部存储详细信息,然后撤消包含在待处理签入中",原始答案在这里:https://stackoverflow.com/a/3883663/585248

Simply add files to store details outside of web.config and then Undo the Include in the Pending Checkins, original answer here: https://stackoverflow.com/a/3883663/585248

此答案与排他性签出有关...如果您使用本地服务器,则可以使用忽略文件.独占签出,您需要将其设置为Server,然后从上面的链接尝试解决方案.经过测试,可以正常工作.

This answer relates to having exclusive checkouts ... if you use Local Sever then you can use ignore files. Exclusive checkouts you would need to set it to Server and try the solution from the link above. Tested and works.

这篇关于如何忽略Visual Studio Team Services(不适用于本地服务器)上的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 14:35