If you experience visual studio is not loading correctly and notify you about a package installation error or package load error
Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE and run these commands:
1.devenv.exe /safemode
2.devenv.exe /resetskippkgs
3.devenv.exe /installvstemplates
4.devenv.exe /resetsettings
5.devenv.exe /resetuserdata
these commands are not related to each other so you can issue one command and check is the problem is solved or not. For my case
devenv.exe /resetuserdata This command restart the whole visual studio environment and you need to login to the developer account.
Reference :
link