简体   繁体   中英

Visual Studio 2015: source control explorer won't download files/projects

I am working in VS2015 update 2. Our TFS is the latest version/build (Microsoft sent people out to help set it up)

Up until today, checking out files was a simple matter of clicking on them and it pulls/gets latest version.

Now, it is saying:

"All files are up to date. No files were updated because the requested file versions were previously downlaoded. To enforce an update, use the 'get specific version' command with the 'overwrite all...' option selected"

截图

This would be fine... if I actually had local files... but I don't and it is still grayed out in Source Control Explorer.

I tried getting a specific version like it suggested, no dice. I checked both checkboxes and tried different versions, changesets, dates to no avail.

You can use tf permission command to list all permission info of the folder with all account such as tf permission /server:<servername> <folder path in TFS>

Note: To use the permission command, you must have the Manipulate security settings permission set to Allow for the folders being modified, be a member of the Team Foundation Administrators security group, or be a system administrator on the local computer (Windows Administrator security group).

Turns out there was a permission spasm going on with our TFS box. someone turned off inheritance and manually set everything everywhere for some reason.

Problem solved after cleaning up all conflicting permissions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM