.Net Core 模板有 属性 SettingManager 的编译警告 CS0108

.Net Core template has a compile warning CS0108 for property SettingManager

我正在尝试删除 .net 核心模板中的所有构建警告。我已将其减少为一个:

我正在尝试找到一种方法来在尽可能小的范围内消除或抑制此警告。

您可以直接在layout.cshtml中删除设置管理器。

Remove unnecessary setting manager injection since it has been injected in AbpRazorPage

查看变化 https://github.com/aspnetboilerplate/module-zero-core-template/pull/450