为什么 Visual Studio 想要在打开文件时检出文件?

发布于 2024-07-13 23:30:17 字数 683 浏览 12 评论 0原文

为什么 Visual Studio 想要在打开文件时检出文件?

我只需双击该文件将其打开,Visual Studio 就会想要查看它。 我没有对它做任何改变。 我刚打开它。

即在解决方案资源管理器中,我双击 ctlEmployeeEdit.vb,Visual Studio 想要做的第一件事就是签出该文件。 我将 VS 设置为在结账时提示我,所以我通常对结账说“不”,然后控件就会显示。

我们正在使用 Visual Studion 2005 和 Visual Source Safe 2005。

我们有一个包含一百多个文件的解决方案,这只发生在满手的文件上,但那手的文件似乎越来越大,现在几乎满了一张嘴。 (嗯,我想知道满手是否比满嘴大?但这个问题是另一个帖子。)

另外,这个问题如何解决?

发生这种情况时,我是否应该删除解决方案的本地副本并从 Visual Source Safe 再次“获取最新版本”?

我感觉你们中的一些人会说解决这个问题的方法是升级到REAL源代码控制产品。 :)

已编辑:

一些第三方控件是:

  1. DevExpress User Controls v8.3
  2. IdeaBlade DevForce control

Why does Visual Studio want to check-out a File when opened?

I just double click the file to open it and Visual Studio wants to check it out.
I did not make any changes to it. I just opened it.

i.e. In Solution Explorer I double click ctlEmployeeEdit.vb and the first thing Visual Studio wants to do is check-out that file. I got VS set up to prompt me on check-out so I normally say no to the check-out and then the control will display.

We are using Visual Studion 2005 and Visual Source Safe 2005.

We have a solution of over a hundred files and it is only happening on a hand full of them but that hand full seems to be getting larger, almost a mouth full now. (Humm I wonder if a hand full is larger than a mouth full? But that question is for another posting.)

Also how can this be fixed?

Should I delete my local copy of the solution and do another "Get Latest" from Visual Source Safe when this happens?

I have the feeling some of you are going to say the way to fix this is to upgrade to a REAL Source Control producted. :)

Edited:

Some of the Third Party controls are:

  1. DevExpress User Controls v8.3
  2. IdeaBlade DevForce control

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

云雾 2024-07-20 23:30:17

这不是 VS 的默认行为。 几乎可以肯定,这是一个第三方插件,它在打开文件时执行某些操作,最终导致签出请求。 你安装了什么插件?

还有一些设计师最终会在文件打开时意外查看它们。 有设计师空缺吗?

This is not the default VS behavior. It's almost certainly a 3rd party plugin that is doing something on file open that is ending up in a check out request. What plugin's do you have installed?

There's also some designers that end up checking out files on accident when they are open. Do you have any designers open?

她如夕阳 2024-07-20 23:30:17

我相信特殊类型的文件可能会发生这种情况 - 特别是设置项目文件,但您并没有过于具体地说明它是什么类型的文件?

至少在 TFS 2008 中是这样的。

I believe this can happen with special types of files - specifically setup project files, but you're not being overly specific as to what kind of file it is?

At least that is how it works in TFS 2008.

酒与心事 2024-07-20 23:30:17

你们有开放的 WinForms 设计器吗? 有时VS.Net想要更改这些文件,这通常是当设计者由于引用问题而无法加载自定义控件时的情况。

Do you have any WinForms designers open? Sometimes VS.Net wants to change these files, this is usually the case when the designer can't load a custom control due to reference problems.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文