Open Aragas opened 4 years ago
TextObjectHelper has been removed in MCM5.
Seems must be changed to:
public override string DisplayName => new TextObject("{=CustomSettings_Name}Custom {VERSION}",
new Dictionary<string, Object>
{
{ "VERSION", typeof(CustomSettings).Assembly.GetName().Version?.ToString(3) ?? "ERROR" }
}).ToString();
TextObjectHelper has been removed in MCM5.
Seems must be changed to:
public override string DisplayName => new TextObject("{=CustomSettings_Name}Custom {VERSION}", new Dictionary<string, Object> { { "VERSION", typeof(CustomSettings).Assembly.GetName().Version?.ToString(3) ?? "ERROR" } }).ToString();
Fixed, thanks!