I'm using Visual Studio 2015 update 3 with TFS hosted at visualstudio.com. I added a new controller (xyzController) in WebAPI project. I was about to commit the solution but I found out that the new controller was not detected in changes but my edit on the existing controller (abcController) was detected.
I tried adding files to different folder and they are also not detected. I also checked the icon beside the file, which is "lock" icon and the tooltip says that it was already "checked in". (which causes more confusion on my side)
My research on the internet (for a day) made me do these things:
- Refresh solution
- Unload/Reload project
- Add .tfignore file to negate changes on update 3 that causes some files to be ignored.
- Reset TFS cache Link (causes to break my VS and made me repair it)
None of them fixed my problem.
This is somewhat the same question but the problem and solution is kinda different, but you can also check it.