You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TFS Error "[file]not be found in your workspace, or you do not have permission to access it" during upgrade or uninstall when solution/project is bound to TFS source control
#2739
Closed
zhili1208 opened this issue
May 6, 2016
· 3 comments
zhili1208
changed the title
Install package fails when solution/project is bound to TFS source control
"[file]not be found in your workspace, or you do not have permission to access it" during upgrade or uninstall when solution/project is bound to TFS source control
May 9, 2016
zhili1208
changed the title
"[file]not be found in your workspace, or you do not have permission to access it" during upgrade or uninstall when solution/project is bound to TFS source control
TFS Error "[file]not be found in your workspace, or you do not have permission to access it" during upgrade or uninstall when solution/project is bound to TFS source control
May 9, 2016
set disableSourceControlIntegration to true in nuget.config
install newtonsoft.json 8.0.1 and upgrade to 8.0.3
Got TFS error: "[file]not be found in your workspace, or you do not have permission to access it"
the bug is during uninstalling packages, nuget will delete package files from TFS, but if user set disableSourceControllntegration to true, package files are not added to TFS workplace during installing, so TFS can't find those files during uninstalling,
The fix is to check disableSourceControlIntegration before deleting package files from TFS.
zhili1208
added a commit
to NuGet/NuGet.Client
that referenced
this issue
May 9, 2016
I fixed the error.
I was simple.
just Check in the latest changes in project , OR get the latest changes and synchronize both tfs and local code.
then you will see every thing is OK.
I encountered this problem today. I have the latest verion of VS2017 with latest updates. This was a difficult one to track down, I had my suspicions about TFS and found this thread which confirmed them. Unbinding from source control worked for me. The fix from Navidsoft above did not work for me. I tried deleting my local copy and refreshing from source control and still the same problem occured. Only unbinding from source control worked for me.
#1164
Reopen this bug, will look into this in 3.5.
The text was updated successfully, but these errors were encountered: