In the foreach (string filename in assembly.GetManifestResourceNames())
for csv treatment,
string scheme = filename.Split('-')[2].Split('.')[0];
the indice of spilt (filename.Split('-')[2]) is out of range.
the problem is in bold font versus bold italic font :
if NETSTANDARD1_4
var assembly = typeof(TagDataTranslation.TDTEngine).GetTypeInfo().Assembly;
var schemeFilenameStart = "**_TagDataTranslation-netstandard.Schemes._**";
var filterFilenameStart = "**_TagDataTranslation-netstandard.FilterValueTables."_**;
else
var assembly = Assembly.GetExecutingAssembly ();
var schemeFilenameStart = "**TagDataTranslationnet.Schemes.**";
var filterFilenameStart = "**TagDataTranslationnet.FilterValueTables.**";
endif
Possible solution:change
string scheme = filename.Split('-')[2].Split('.')[0];
to
In the foreach (string filename in assembly.GetManifestResourceNames()) for csv treatment, string scheme = filename.Split('-')[2].Split('.')[0]; the indice of spilt (filename.Split('-')[2]) is out of range.
the problem is in bold font versus bold italic font :
if NETSTANDARD1_4
else
endif
Possible solution: change string scheme = filename.Split('-')[2].Split('.')[0]; to
if NETSTANDARD1_4
else
endif
Best regard Gaetan