简体   繁体   English

无法在Visual Studio 2010(TFS 2010)中检入代码

[英]Unable to check in code in Visual studio 2010(TFS 2010)

I am working on an Asp.net web application. 我正在使用Asp.net Web应用程序。 Since yesterday I am unable to check in my code. 从昨天开始,我无法检入代码。 But I am able to get latest code, compare files , View history and create work items. 但是我能够获取最新代码,比较文件,查看历史记录并创建工作项。

While check in- Neither the error message is displayed nor The file that needs to be checked in is locked. 检入时-既不显示错误消息也不锁定需要检入的文件。

Suspect:- 疑似:-
The application is written for VS 2010. But,Once I opened it on vs 2012. Later I made necessary changes to the solution file so that It re-opens on VS 2010 again. 该应用程序是为VS 2010编写的。但是,一旦我在vs 2012上将其打开。后来我对解决方案文件进行了必要的更改,以便它再次在VS 2010上重新打开。 Can this be the reason why check in is not working? 这可能是无法办理登机手续的原因吗? Please let me now if you have any suggestions. 如果您有任何建议,请现在让我。 Thanks. 谢谢。

"Lock "Check-in". This is also known as the "antisocial":-). A check-in lock prevents anyone else from committing their changes to that file until you have released the lock. This means that they will be responsible for performing any conflict resolution activities that result. You can place a check-in lock on a file even if somebody has a file checked out with a lock type of "none" ie I know you are working on this file but you are not allowed to check in your changes until I have made this important quick fix." “锁定“签入”。这也称为“反隔离” :-)。签入锁定可防止其他人在您释放该锁定之前将其更改提交到该文件。这意味着他们将负责您可以将检入锁置于文件上,即使有人检出的文件的锁类型为“无”,也可以将检入锁放置在文件上,即我知道您正在使用该文件,但不允许这样做在我做出此重要的快速修复之前,请检查您的更改。”

Probably this is the case, someone check out the file after your check out. 可能是这种情况,有人在您签出后签出了文件。 Check who check out the file and contact with him, this is the best advice which I can give you. 检查谁签出文件并与他联系,这是我能给您的最佳建议。

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

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