配置 Serilog 日志记录时获取 "The module was expected to contain an assembly manifest."
Getting "The module was expected to contain an assembly manifest." when configuring Serilog logging
我的目标是配置 Serilog 日志记录。
安装以下 nuget 包后出现错误。
- Serilog https://github.com/serilog/serilog
- Serilog 文档数据库
https://github.com/serilog/serilog-sinks-azuredocumentdb
错误附在下方
安装 Serilog.Sinks.AzureDocumentDB 后出现此错误。
我已经解决了这个问题。我重新安装了所有 nuget 包并合并到同一版本。 (我项目中所有现有的 nuget)
我的目标是配置 Serilog 日志记录。 安装以下 nuget 包后出现错误。
- Serilog https://github.com/serilog/serilog
- Serilog 文档数据库 https://github.com/serilog/serilog-sinks-azuredocumentdb
错误附在下方
安装 Serilog.Sinks.AzureDocumentDB 后出现此错误。
我已经解决了这个问题。我重新安装了所有 nuget 包并合并到同一版本。 (我项目中所有现有的 nuget)