I got exception when connecting to TFS sources in Visual studio 2012 -


i cannot sources dialog in visual studio 2012. got null reference exception: ideas causes this?

enter image description here

system.nullreferenceexception: object reference not set instance of object.    @ microsoft.visualstudio.teamfoundation.versioncontrol.pendingchanges.pendingchangesmodelvs.initialize(iserviceprovider serviceprovider, versioncontrolserver versioncontrolserver, workspace workspace)    @ microsoft.teamfoundation.versioncontrol.controls.pendingchanges.pendingchangespage.initializemodel(pageinitializeeventargs e)    @ microsoft.teamfoundation.controls.wpf.teamexplorer.teamexplorerpagebase.initialize(object sender, pageinitializeeventargs e)    @ microsoft.visualstudio.teamfoundation.versioncontrol.pendingchanges.pendingchangespagevs.initialize(object sender, pageinitializeeventargs e)    @ microsoft.teamfoundation.controls.wpf.teamexplorer.framework.teamexplorerpagehost.initialize(teamexplorerpagecontext context) 

vs pro latest updates.

i had error too, might same cause, check file: c:\users\username\appdata\roaming\microsoft\visualstudio\11.0\activitylog.xml

mine contained message:

the cache file c:\users\username\appdata\local\microsoft\team foundation\4.0\cache\versioncontrol.config not valid , cannot loaded. please correct or delete file.

i renamed file (rather deleting it). started visual studio /resetskippkgs switch , working again now.

best of luck , hope helps you.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -