首页 > 解决方案 > 在 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

标签: c#.net.net-corehangfire

解决方案


推荐阅读