【发布时间】:2022-10-13 15:16:16
【问题描述】:
我在 Azure 中有一个应用服务,它是一个 web 应用程序,asp.net v4.7。 当我打开 Application Insights 时,我不断收到错误消息,
Exception: The type initializer for 'PerTypeValues`1' threw an exception.
Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe,
Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The system cannot find the file specified.
关于如何阻止这种情况发生的任何想法?
【问题讨论】:
-
您是否能够在本地构建和运行您的应用程序?
-
你想做什么,修复错误或忽略异常并阻止它被记录?
-
想解决这个问题,因为我需要启用应用程序洞察力进行监控。否则,应用洞察的意义何在?