gpt4 book ai didi

azure - VS 2013 中缺少 'Add Application Insights Telemetry to Project' 选项

转载 作者:行者123 更新时间:2023-12-03 20:50:16 24 4
gpt4 key购买 nike

我有一个现有的网络项目。我单击“将 Application Insights Telemetry 添加到项目”,并在该过程中的某个时刻引发了类似 '[...] 无法初始化 powershell 主机 [...]' 的错误。然后我根据谷歌搜索尝试了一些东西。项目中没有 ApplicationInsights.config,也没有引用 Microsoft.ApplicationInsights.Telemetry.Services。

现在在任何地方都找不到“将 Application Insights 遥测添加到项目”选项。我什至尝试重新安装 Application Insights 扩展。

我尝试通过 git 回滚任何更改,但没有成功。

我的队友都没有在 VS 中看到“将 Application Insights Telemetry 添加到项目”选项。 (我们都使用 Visual Studio Ultimate 2013 Update 4)

如果我无法让它工作,有没有办法手动设置它?

最佳答案

手动,您可以自己添加nuget包(网页版为: http://www.nuget.org/packages/Microsoft.ApplicationInsights.Web )

然后在 Azure 门户 ( http://portal.azure.com ) 上手动创建应用程序见解资源,然后获取新资源的检测 key ,并将其粘贴到 nuget 包安装到项目中的 ApplicationInsights.config 文件中。

AI VSIX 在这些步骤之上添加了一个 GUI。 (可以帮助您修复 vsix 的任何问题,但我宁愿让您先这样做!)

关于azure - VS 2013 中缺少 'Add Application Insights Telemetry to Project' 选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29403005/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com