如何解决配置错误 [英] How to resolve configuration Error
本文介绍了如何解决配置错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无法加载文件或程序集'Microsoft.VisualStudio.QualityTools.HostAdapters.web.HttpModule','Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter'
对于配置文件中的以下代码:
Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.HostAdapters.web.HttpModule' ,'Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter'
for below code in config file:
<system.webServer>
<modules>
<add name="HostAdapter" type="Microsoft.VisualStudio.TestTools.HostAdapter.Web.HttpModule, Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</modules>
</system.webServer>
推荐答案
程序集Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter
需要位于应用程序的/ bin /
文件夹中,或者安装在全球大会缓存。
The assemblyMicrosoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter
needs to be in your application's/bin/
folder, or installed in the Global Assembly Cache.
这篇关于如何解决配置错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文