I ran into the same problem and the culprit was the removal of Visual Studio Express 2012 . It is possible that this could be any version of Visual Studio, as the comments on this answer indicate that the problem still occurs with Visual Studio 2019 . My general order of operations was:
- Installed Visual Studio Express 2012 (long time ago)
- Used Visual Studio Express 2012 happily for months
- Installed Visual Studio 2013 Premium
- Used Visual Studio 2013 Premium happily for several weeks
- Remote installation of Visual Studio Express 2012
- MISTAKE
I am not 100% sure about the reasons for this or which combinations of Visual Studio versions will exhibit this behavior. But the solution for me was to edit the root web.config files in the framework directories:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config
(You may have different folders for different versions of the framework.)
And remove the nodes:
<remove assembly="Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <add assembly="Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Be careful not to remove any opening / closing parent nodes that are also on the same line (s) as these.
This solved the problem for me.
David Apr 24 '14 at 16:17 2014-04-24 16:17
source share