简体   繁体   English

使用TFS时,Visual Studio 2010中出现“未连接”消息

[英]“Not Connected” message in Visual Studio 2010 when using TFS

In Visual Studio 2010 Premium I have a project that is connected to TFS. 在Visual Studio 2010 Premium中,我有一个连接到TFS的项目。 Sometimes I see "not connected" messages on the tabs of individual files when open in VS2010. 有时在VS2010中打开时,单个文件的选项卡上会显示“未连接”消息。 All TFS related functionality (ie "Check Out For Edit") seems to be working correctly. 所有与TFS相关的功能(即“签出以进行编辑”)似乎都正常运行。

Here's a screen snippet from a VS2010 Winforms project to show what I'm talking about: 这是VS2010 Winforms项目的一个屏幕片段,显示了我在说什么:

LM_Master_Data.sql - not connnected http://www.freeimagehosting.net/uploads/ac423cf1cf.png LM_Master_Data.sql-未连接http://www.freeimagehosting.net/uploads/ac423cf1cf.png

This is a SQL script that is in my project with a "Build Action" of "Embedded Resource" (in case that matters some how to TFS). 这是一个SQL脚本,在我的项目中带有“嵌入资源”的“构建操作”(以防某些如何使用TFS)。

I've searched with Google to see if anyone else has this problem but so far no luck. 我已经在Google上进行搜索,看看是否还有其他人遇到此问题,但到目前为止还算不上。

So, the question is: 因此,问题是:

What does this mean and what should I do about it ? 这是什么意思,我该怎么办?

Thanks ! 谢谢 !

I'm pretty sure this message means that the SQL script is not associated with an open database (eg not connected to the database). 我很确定此消息意味着SQL脚本未与打开的数据库关联(例如未连接到数据库)。 I don't think it has anything to do with being connected to TFS. 我认为这与连接到TFS无关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM