azure-application-insights - ApplicationInsights.config 是否需要位于输出目录的根目录中
问题描述
ApplicationInsights.config 是否需要位于输出目录(bin 文件夹)的根目录中,或者我可以将它放在输出目录(bin 文件夹)的子文件夹中
<Content Include="Service References\**" Exclude="Service References\Application Insights\ApplicationInsights.config" />
<Content Include="Service References\Application Insights\ApplicationInsights.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
我找不到有关是否允许这样做的信息:
解决方案
我的 ops 同事已经部署了解决方案,显然 ApplicationInsights.config 不会被拾取,除非它包含在根目录中。希望微软将其添加到他们的文档中......或者可能允许在未来对其进行配置。
似乎很奇怪,它必须位于 bin 文件夹的根目录中。*耸耸肩*
推荐阅读
- powershell - 无法用 CSV 列中的点替换逗号
- sharepoint - 处理记录列表操作
- ios - HLS 加密的 AES-128 - IOS 设备问题
- kubernetes - 是否可以使用 linkerd 追踪非常罕见的失败请求?
- r - 使用循环 ggplot2 将各种函数添加到同一个图
- reactjs - React 无法使用 useEffect() 中的钩子设置状态
- java - jOOQ 在启动时非常慢
- powershell - Rename-Computer 抛出“访问被拒绝”错误,但我不知道是什么
- r - 数据框中的 R 类型 int / char 混淆
- javascript - 字段集图例中使用的 magnificPopup 不会打开弹出窗口,而是在同一窗口中打开