Tuesday, February 21, 2012

VS 2010: Could not load assembly Microsoft.VisualStudio.Web.Runtime

I was facing this error below while building a web project

Error    101    Could not load file or assembly 'Microsoft.VisualStudio.Web.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.  

Doing some search, I found someone facing the same error, http://social.msdn.microsoft.com/Forums/en/vssetup/thread/92823976-be85-43af-9efa-6b28f441fd6b

He has been advised to remove the Microsoft Inspector, I removed it, and I was able to build successfully.