Sometimes VS may disagree with what you check, depending on what it sees in your solution / projects. I saw this from time to time when creating a new project and moving files under Visual Studio (i.e. without using the interface inside VS).
Here's how I fix the problem:
Save the project and close Visual Studio 2013. Open "Developer Command Prompt for VS2013" and cd to the folder containing your solution. Run the following commands:
tf add /recursive . tf checkin /recursive .
then copy the source source to another location:
robocopy /MIR . C:\Temp\Original
then delete the current source and reinstall it from TFS
cd ..\ rmdir /s /q <foldername> tf get /force /recursive <foldername>
Open your solution and make sure everything is working correctly. Fix problems when you encounter them using a โbackupโ that you manually copied if necessary.
d3r3kk
source share