Package did not load correctly

Posted by

Saw “The ‘Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage, Microsoft.VisualStudio.TeamFoundation.VersionControl, Version=, 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.


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.


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”.


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.



Comments are closed.