无法将最近的代码更改签入到Visual Studio Online [英] Cannot check-in recent code changes to Visual Studio Online

查看:93
本文介绍了无法将最近的代码更改签入到Visual Studio Online的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某种原因,我无法将我的代码签入我们的Visual Studio Online帐户.其他开发人员可以,但我不能.这是我得到的错误:

For some reason I cannot check in my code to our Visual Studio Online account. Other developers can, but not me. This is the error I am getting:

找不到类别为VersionControl和标识符为 [some guid] 的数据空间"

"Could not find dataspace with category VersionControl and identifier [some guid]"

搜索有关以上错误的任何帮助均未返回任何有意义的信息.

Searching for any help on the above error is not returning anything meaningful.

这是在我安装Visual Studio 2015 Enterprise之后开始发生的.在使用Visual Studio 2013创建新的Web应用程序之后,我首次启动了该应用程序.然后我在2015年打开了该新解决方案,一切都很好.一旦我尝试将其放入我们的Visual Studio Online帐户中,事情就开始变糟了.当我在VS 2015中进入团队资源管理器时,我选择了项目和我的团队/新团队项目".然后,这使我跳回到浏览器中的Visual Studio Online帐户,以便我填写该简单表单以创建新的团队项目.我填写了表格并提交了.然后,我收到一个错误消息,指出成功创建了项目.不幸的是,Visual Studio仍然认为它是已创建的,并且仅在Visual Studio内显示在项目列表中-不会在线显示.最终,我感到沮丧,并删除了与我尝试过的所有内容相关的所有内容,但随后得知我现在无法检查旧项目中的任何内容!我让其他开发人员进行测试,他们仍然可以这样做,因此问题显然出在我的机器上.然后,我卸载了VS 2013和VS 2015,然后重新安装了VS 2013,仍然有问题.

This started to happen after I installed Visual Studio 2015 Enterprise. I launched it for the first time after creating a new web application with Visual Studio 2013. I then opened that new solution in 2015 and all was fine. Things began to go awry once I tried to put it in our Visual Studio Online account. When I went to Team Explorer in VS 2015 I selected "Projects and My Teams / New Team Project". This then bounced me over to our Visual Studio Online account in the browser for me to fill out that simple form to create a new team project. I filled the form out and submitted. I then got an error that the project was not successfully created. Unfortunately Visual Studio still thinks it was created and it shows up in the list of projects ONLY WITHIN Visual Studio -- it does not show up online. Eventually I just became frustrated and deleted everything related to all that I just tried but then learned that I cannot check anything in now on my old projects! I had other developers test and they still can so the problem evidently is on my machine. I then uninstalled VS 2013 and VS 2015 then reinstalled VS 2013 and am still having the problem.

我希望有人可以指出一些需要在系统上清除的缓存垃圾. :-)

I am hoping someone can point me to some cached junk that needs to be cleared on my system. :-)

推荐答案

这是在黑暗中拍摄的东西,您可以尝试以下几种方法:

This is a bit shot in the dark, few things you can try:

  1. 在以下位置删除本地缓存:

  1. Delete the local cache under:

%localappdata%\Microsoft\Team Foundation %localappdata%\Microsoft\VisualStudio\14.0\SyncSettings

  • "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat"
  • 验证连接:tf settings connections
  • 以安全模式(devenv.exe /SafeMode)运行Visual Studio
  • 使用活动日志( devenv.exe /log )运行Visual Studio,并检查错误.
  • "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat"
  • Verify connections: tf settings connections
  • Run Visual Studio in safe mode (devenv.exe /SafeMode)
  • Run Visual Studio with activity log (devenv.exe /log) and check for errors.

这篇关于无法将最近的代码更改签入到Visual Studio Online的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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