Package did not load correctly

Posted by

Saw “The ‘Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage, Microsoft.VisualStudio.TeamFoundation.VersionControl, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ package did not load correctly.” error on my development machine as soon as i opened the visual studio 2010 after a successful windows update.

vs_bts_tfs_error_20130213_1

as described in the error prompt i checked the activity log file located at “c:\Users\Administrator\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml” and looked into the content for possible help.

vs_bts_tfs_error_20130213_3

there i found the entry stating “The cache file c:\Users\Administrator\AppData\Local\Microsoft\Team Foundation\3.0\Cache\VersionControl.config can not be loaded please correct or delete this file”.

vs_bts_tfs_error_20130213_4

after deleting the file Visual Studio started to working expected. and i could see the source control tab in my Team explorer.

Note: if ActivityLog.xml is not present of the entry related to this problem is not available in it then try running the visual studio using /log parameter from command prompt.

vs_bts_tfs_error_20130213_2

7 comments

Comments are closed.