Visual Studio 2013 Pending Changes does not includ

2019-09-13 02:36发布

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

  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.

  2. I have sample problem with same scenario in VS 2017.

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.

1条回答
Melony?
2楼-- · 2019-09-13 03:14

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.

  • In source control explorer, check the workspace is same between VS2013 and VS2017.

enter image description here

  • In pending changes, also check the work space is same as the one in source control explorer.

enter image description here

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:

  1. File option in VS. In VS -> File -> New -> Project, if you select Add to source Control, it will automatically add the new project in source control ( you can find in pending changes).
  2. Source Control Explorer. If you add files or folder in source control explorer, it will automatically add the new items in source control.
  3. Add files in the local map copy. If you add files by this way, you need to manually add files to source control, such as VS -> File -> source control -> add items to folder.
查看更多
登录 后发表回答