Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Update PluginInfoAttribute to fix supported version format

support9fbaa2b5567f
diff --git a/src/Core/Grand.Infrastructure/Plugins/PluginInfoAttribute.cs b/src/Core/Grand.Infrastructure/Plugins/PluginInfoAttribute.cs
index c21c75dd1..4511ed7a3 100644
--- a/src/Core/Grand.Infrastructure/Plugins/PluginInfoAttribute.cs
+++ b/src/Core/Grand.Infrastructure/Plugins/PluginInfoAttribute.cs
@@ -9,7 +9,7 @@ public class PluginInfoAttribute : Attribute
{
var assembly = Assembly.GetExecutingAssembly();
var fullVersion = assembly.GetName().Version;
- SupportedVersion = $"{fullVersion?.Minor}.{fullVersion?.Major}";
+ SupportedVersion = $"{fullVersion?.Major}.{fullVersion?.Minor}";
}
public string Group { get; set; } = string.Empty;