Friday, 23 March 2012

TFS red cross by project / solution


There is an issue which can arise with Visual Studio 2010 Team Explorer where the TFS project node will not expand. There is a red cross on the project node to indicate that it hasn't loaded correctly.

In addition, it is not possible to publish your web applications.

Both of these issues are caused by the same root problem.

Visual studio uses an internet explorer dll to do certain things, and it can happen that this dll becomes unregistered.

Simply open a normal command prompt (does not need to be a Visual Studio command prompt) and enter the following

regsvr32 "C:\Program Files (x86)\Internet Explorer\ieproxy.dll" or
regsvr32 "C:\Program Files\Internet Explorer\ieproxy.dll"

Depending on your version of Windows.