Code saved to a TFS workspace getting removed on next get latest workspace. RRS feed

  • Question

  • User93267240 posted

    I'm not sure which forum this should go under but I'll try this one. I am working on an ASP .NET project and am have serious problems with TFS source control mapping. First what was happening is that because nuget or no other dll third party folder was setup when the project was downloaded to a new work space all the dll's were missing. We'll to solve this problem I did created a shared source control folder and moved all of the needed third party dll's to this source control folder and had each project reference them from there. Now, this is the problem I'm left with. It seems that there are certain files and folders of various type (i.e. print.txt, showChart.pdf) that are in project folders which are missing after the project has been fixed on one machine's workspace, checked-in, and get latest to another machine's workspace. They disappear after the source code is downloaded to a new mapping on a different machine. It seems that these folders and files will only stay in the workspace's mapping that they were fixed in. Does anyone have any suggestions?    

    Monday, May 28, 2018 1:13 AM

All replies

  • User347430248 posted

    Hi Holdrofs,

    It is possible that you did not add those missing files in TFS source control.

    So when you try to get the files from the source control those files are not available.

    You can try to verify and if files are not there then you can try to add them.

    Further, You can try to create a new thread on Stackoverflow Forum with TFS tag.

    That is the suitable place to post this issue.

    I suggest you to close this thread before you create a ne thread on Stackoverflow forum.

    Thanks for your understanding.



    Tuesday, May 29, 2018 2:46 AM
  • User93267240 posted
    I will take your advise and close this thread but I would just like to get one more piece of knowledge from you. What I have is an older much dated copy of the code that I pulled the missing items from. Then fixed it and checked it in. The problem is that when each developer pulls the fixed branch the items are missing again from their newly created branch. They have to make the same updates to their code to get theirs working. What could cause this?
    Tuesday, May 29, 2018 7:51 AM
  • User347430248 posted

    Hi Holdorfs,

    It is possible that branch get corrupted or did not updated properly.

    It can cause this issue.

    You can try to create branch and properly update it and try to use it in future to avoid this issue.



    Thursday, May 31, 2018 7:05 AM