TFS API: GetLocalWorkspaceInfo always returns null

前端 未结 8 1294
無奈伤痛
無奈伤痛 2020-12-24 06:46

On one of my machines, I get a return value of null from any GetLocalWorkspaceInfo call. I have isolated to problem to where it even fails for this simple progr

8条回答
  •  伪装坚强ぢ
    2020-12-24 07:09

    In my C:\Users\\AppData\Local\Microsoft\Team Foundation folder I had 2 folders:

    • 7.0

    • 8.0

    Within the 8.0 folder was the following folder:

    \Cache\Volatile\c1dbda02-c575-4dd2-b221-e83f7cb63665_http
    

    But within the 7.0 folder the \Cache\Volatile folder was empty

    So all I did was copy across the c1dbda02-c575-4dd2-b221-e83f7cb63665_http folder into 7.0\Cache\Volatile\

    After this GetLocalWorkspaceInfo call returned the workspace info successfully

提交回复
热议问题