I've been experiencing something strange recently where Get Latest in visual studio source control explorer is not pulling down all of the files because it thinks it already has the latest of each object. When I do a full build I get lots of errors saying " 'MyCustomType' or its base type does not exist" and ''MyCustomType' does not denote a class, a table, or an extended data type." I checked for the type in visual studio's source control explorer and it shows the type there and the latest column says yes. But I check in my local repository folder (C:\AOSService\PackagesLocalDirectory\MyPackageName\MyPackageName\AxEdt\" and the file is indeed not there. I've stopping all services and deleting my package folder and getting latest from the root of my project in source control and still those files do not pull down but they do say they have the latest. Does anyone know why this would happen and how I can get what TFS thinks I have in sync with what I actually have, even if it's deleting everything and pulling it all back down?
I was able to work around this in visual studio's source control explorer by right clicking the root of my project and choosing advanced > get specific version and choosing "latest version" and checking the boxes for "overwrite writeable files that are not checked out" and "overwrite all files even if the local version matches the specified version". This seems to have forced all files to come back down into my local repository.