c# - 在 Hangfire.Core v1.7.18 中编辑 Strings.resx 文件时出现编译错误
问题描述
有人可以帮我解决这个错误吗?我从 GitHub 下载了 Hangfire v1.7.18,当我在 Strings.resx 文件中添加/编辑键/值时出现以下错误。
该错误在第 42 行引发,特别是在这部分 - typeof(Strings).Assembly ,看起来它正在发生在 .netstandard 1.3 上。这是完整的错误:
Error|CS1061| ‘Type’ does not contain a definition for ‘Assembly’ and no accessible extension method ‘Assembly’ accepting a first argument of type ‘Type’ could be found (are you missing a using directive or an assembly reference?) in Project Hangfire.Core (netstandard1.3) The file is src\Hangfire.Core\Dashboard\Content\resx\Strings.Designer.cs at Line 42
解决方案
推荐阅读
- reactjs - onClick 第二次没有路由到正确的页面
- docker - Canonical LXD 容器软件和 docker 容器软件之间的主要区别是什么?
- java - java模块化和cxf-xjc-plugin从xsd文件生成包
- javascript - 如何使用 SVG(而不是 JSON 数据)创建 D3 地理投影
- sql - 按限制使用的顺序和偏移量未按预期顺序返回结果
- telegram - 如何将我收到的电报信息发送到电子邮件
- python - 在没有硬编码位置的情况下从 python 运行 perl
- sql - 如何按总和小于 x 对数据进行分组
- matlab - 如何在 MATLAB 中将 3D 动画线保存为视频或 gif
- javascript - 是否可以在功能性 React 组件中使用 Promise 的值?