我有一个使用C#.Net开发的Azure服务。当我编译解决方案时,没有任何错误。
但是当我运行它时,会抛出以下错误:
“无法加载类型'Microsoft.ApplicationInsights.Telemetry.Web.ApplicationInsightsModule'”
以下是运行解决方案时指向的部分。
但是当我运行它时,会抛出以下错误:
“无法加载类型'Microsoft.ApplicationInsights.Telemetry.Web.ApplicationInsightsModule'”
以下是运行解决方案时指向的部分。
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" relaxedUrlToFileSystemMapping="true" />
<customErrors mode="Off" defaultRedirect="/Error/Error.html" />
<pages controlRenderingCompatibilityVersion="4.5" />
<httpModules>
<add name="ApplicationInsights" type="Microsoft.ApplicationInsights.Telemetry.Web.ApplicationInsightsModule" />
</httpModules>
</system.web>