Visual Studio 2019-自动检出某些文件 [英] Visual Studio 2019 - Auto Check-out certain files

查看:51
本文介绍了Visual Studio 2019-自动检出某些文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的Visual Studio 2019一直存在此问题,某些文件在加载公司解决方案时会自动在所有用户上签出.

我不确定为什么会这样,但是这种情况会发生在公司和所有计算机上的所有用户身上,一旦您加载我们拥有的单个解决方案,就会从多个项目中检出文件,它们始终是这12个文件,

将这些文件与最新版本/服务器版本进行比较时,您不会发现任何差异.

您将看到以下对话框:

确保服务器绑定正确,并且每个解决方案/项目都已连接".

如果一切正常,请尝试取消绑定已绑定但无法正常工作的任何项目.

再次绑定现在未绑定的所有项目.也许可以解决问题.

希望这会有所帮助.

WE have been having this issue with our Visual Studio 2019, certain files are automatically checked-out on all users when they load the company solution.

I am not sure why but it happens to all every user in the company and on all computers, as soon as you load the single solution that we have, files from Multiple projects are checked-out and they are always those 12 files,

When you compare these files with latest version / Server version you see no difference.

AutoCheckedout

BTW we are using Azure-DevOps Server but we had this issue since TFS 2017 Update 2

When Unbinding and rebinding / reloading Project

解决方案

According to your description, it sounds like the solution isn't "bound" to the version control provider correctly.

From Visual Studio's main File menu, select File > Source Control > Advanced > Change Source Control

You'll see this dialog:

Make sure the server bindings are correct and that each solution/project is "connected".

If everything looks like fine, then try to unbind any projects that are bound but not working correctly.

Bind all projects again that are now unbound. Which may do the trick.

Hope this helps.

这篇关于Visual Studio 2019-自动检出某些文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆