如何从“始终"停止 Visual Studio检查解决方案文件?

问题描述:

显然没有任何原因,每次我打开我的解决方案时,Visual Studio 都会检查 sln 文件.

For apparently no reason, every time I open my solution, Visual Studio checks the sln file out.

如果我将它与以前的版本进行比较,则没有任何变化.但这确实令人沮丧,因为每个人都检查了解决方案.

If I compare it to the previous version there are no changes. But this is really frustrating since everybody has the solution checked out.

我使用的是 VS 2008 和 TFS 2008,两者都是 SP2.

I'm using VS 2008 and TFS 2008, both SP2.

知道如何阻止这件事发生吗?或者是 VS 的 TFS 源代码控制提供程序的功能/错误?

Any idea on how I can stop this thing to happen? Or is a feature/bug of the TFS source control provider for VS?

当 .sln 文件中包含以下内容时,会发生这种情况:

This happens when the following is in the .sln file:

GlobalSection(ExtensibilityGlobals) = postSolution
    MyGlobalProperty = AnyValue
EndGlobalSection

我发现企业库添加了其中之一.我删除了它,签入解决方案,关闭然后重新打开它,不再自动签出.

I found that Enterprise Library added one of these. I removed it, checked in the solution, closed then re-opened it, and no more automatic check out.