Visual Studio 2013待定更改不包括新添加的项目 [英] Visual Studio 2013 Pending Changes does not include newly added item

查看:92
本文介绍了Visual Studio 2013待定更改不包括新添加的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在与Team Foundation Service一起使用Visual Studio 2017,这就是为什么出现此问题的原因.

I am currently start using Visual Studio 2017 along with Team Foundation Service that is why this question arise.

  1. 当我使用Visual Studio 2013并将新项目添加到解决方案,然后从Team Explorer中进行挂起更改时,它不包括新添加的项目到解决方案或项目中.

  1. When I am working with Visual Studio 2013 and add new item to Solution and then do Pending changes from Team Explorer, It does not included newly added item to solution or project.

我在VS 2017中具有相同场景的示例问题.

I have sample problem with same scenario in VS 2017.

实际上,我想使用TFS和Visual Studio 2017/2015/2013,但不想绑定解决方案.我只想使用Team Explorer级绑定.

Actually I want to work with TFS and Visual Studio 2017/2015/2013 but not want to bind solution. Only Team Explorer level binding I want to use.

推荐答案

如果创建新项目,然后在VS2013和VS2015中都进行检查,请确保您使用的是VS2013相同的工作空间和VS2017.

If you create a new item and then check both in VS2013 and VS2015, please make sure you are using the same workspace for VS2013 and VS2017.

  • 在源代码管理浏览器中,检查VS2013和VS2017之间的工作空间是否相同.

  • 在未决更改中,还要检查工作空间是否与源代码管理资源管理器中的工作空间相同.

如果您分别在VS2013和VS2015中创建新项目,请确保您以相同的方式和选项添加项目. 对于TFVC,有多种方法可以将文件添加到源代码管理中:

If you create new items separately in VS2013 and VS2015, please make sure you add items by the same way and options. For TFVC, there are many ways to add files to source control:

    VS中的
  1. 文件选项.在"VS"->文件"->新建"->项目"中,如果选择添加到源代码管理",它将自动将新项目添加到源代码管理中(您可以在未决的更改中找到).
  2. 源代码管理资源管理器.如果您在源代码管理浏览器中添加文件或文件夹,它将自动在源代码管理器中添加新项目.
  3. 在本地地图副本中添加文件.如果通过这种方式添加文件,则需要手动将文件添加到源代码管理,例如VS->文件->源代码管理->将项目添加到文件夹.

这篇关于Visual Studio 2013待定更改不包括新添加的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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