编程分享系列:一、获取插件所在目录
再写插件的时候,需要获取插件目录资源路径翻api手册,还是没明白怎么获取最终在葡萄城工程师的指导下
才明白
所以来分享一下写法,万一大家写插件的时候就用着了呢
var assembly = typeof(Class).Assembly.Location;
var plugInDirectory = Path.GetDirectoryName(assembly);
:i0tw2::i0tw2::i0tw2::i0tw2::i0tw2::i0tw2: 本帖最后由 lovert 于 2022-8-11 08:52 编辑
var ppath = Forguncy.Helper.SpecialPath.getPluginRootPath(guid);https://help.grapecity.com.cn/pa ... ion?pageId=72366312
页:
[1]