【问题标题】:Could not add Application Insights to project无法将 Application Insights 添加到项目
【发布时间】:2018-07-09 09:08:00
【问题描述】:

我正在尝试配置 Web 应用以获取有关 Application Insights 的实时指标 当我尝试这样做时,我会看到这个弹出窗口。

我已经使用示例应用程序进行了相同的配置,它工作得很好,但是当我尝试使用这个特定的应用程序进行配置时,我会看到这一点。

这样做还会从解决方案中删除 ApplicationInsights.config 文件,不知道为什么?

【问题讨论】:

标签: asp.net-mvc azure azure-application-insights


【解决方案1】:

我必须安装所有这些包

Install-Package Microsoft.ApplicationInsights.DependencyCollector -Version 2.6.4
Install-Package Microsoft.ApplicationInsights.PerfCounterCollector -Version 2.6.4
Install-Package Microsoft.ApplicationInsights.Web -Version 2.6.4
Install-Package Microsoft.ApplicationInsights.WindowsServer -Version 2.6.4
Install-Package Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel -Version 2.6.4

那时它工作得很好。

【讨论】:

    猜你喜欢
    • 2014-09-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-05
    • 1970-01-01
    • 2018-10-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多