I try upload this file from Lacal Plugin page. But firstly exception from this line :
var rootDirectories = archive.Entries.Where(entry => entry.FullName.Count(ch => ch == '/') == 1 && entry.FullName.EndsWith("/")).ToList(); //Exception Here
if (rootDirectories.Count != 1)
{
throw new Exception($"The archive should contain only one root plugin or theme directory. " +
$"For example, Payments.PayPalDirect or DefaultClean. ");
}
I create new folder and I put xml file inside this folder and re create zip. And this time, I get this error : "This plugin doesn't support the current version - 4.80" because it want to .dll. "foreach (var entry in archive.Entries.Where(x => x.FullName.Contains(".dll")))". What should I do? Any idea?