Mir*_*ral 81 visual-studio page-inspector
Could not load file or assembly 'Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest. Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Running under executable C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\11.0\WebDev.WebServer40.exe --- A detailed error log follows. === Pre-bind state information === LOG: User = TTLWIN2K\miralp LOG: DisplayName = Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (Fully-specified) LOG: Appbase = file:///C:/SVN/temp/components/src/MasterpassProxy/src/Webservice/ LOG: Initial PrivatePath = C:\SVN\temp\components\src\MasterpassProxy\src\Webservice\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\SVN\temp\components\src\MasterpassProxy\src\Webservice\web.config LOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Post-policy reference: Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Dav*_*vid 175
我遇到了同样的问题,罪魁祸首是我卸载了Visual Studio Express 2012.(可能是它可能是VS2012的任何版本.)我的整体操作顺序是:
我不是100%肯定它的原因,或者VS 2012/2013的哪些组合会表现出这种行为.但对我来说,解决方案是编辑web.config框架目录中的根文件:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config
Run Code Online (Sandbox Code Playgroud)
并删除行:
<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" />
Run Code Online (Sandbox Code Playgroud)
这解决了我的问题.
use*_*795 18
无需删除这些行
只需关闭并使用Admin权限重新打开Visual Studio .
Paw*_*wel 14
我遇到了同样的问题,但不是在我的开发机器上,而是在托管服务器上.
C:\ Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config C:\ Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config
我能够通过在我的web.config中添加以下代码来修复它
<compilation targetFramework="4.5">
<assemblies>
<remove assembly="Microsoft.VisualStudio.Web.PageInspector.Loader,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</assemblies>
</compilation>
Run Code Online (Sandbox Code Playgroud)
或者从框架目录中的web.config文件中删除对此程序集的引用.
我从来没有在那里安装VS,我从来没有安装过PageInspector.知道为什么那些配置会引用它们吗?
| 归档时间: |
|
| 查看次数: |
50862 次 |
| 最近记录: |