I have managed to corrupt my local Visual Studio Team Foundation Server workspace mappings. Visual Studio can successfully connect to TFS and I can manage the TFS Server connections. However, I cannot open Source Control Explorer or the Workspaces/Manage Workspaces dialogue. Both windows fail with the following message: "Error Unexpected end of file.". From my local machine I also cannot get any information about my workspaces from the tf.exe command line which fails with the same error message "Unexpected end of file."
I would like to note that TFS/database still has my workspaces mapped correctly since I can successfully retrieve information about them from a different machine.
I would like to repair or remove whatever local file Visual Studio is using to map the workspaces. Does anyone know where this information is stored?