跳到主要内容
版本:2.1.0

添加 NuGet 包或项目引用

和普通项目添加方法相同

注意

在发布时需要携带相应的类库文件(.dll),否则插件会报错

示例

假设一个项目添加了Newtonsoft.Json的 NuGet 包引用,则在发布时需同时携带Newtonsoft.Json.dll

文件结构
📂release
├─📄Newtonsoft.Json.dll
├─📄plugin-info.json
├─📄Serein.Tests.Plugin.deps.json
├─📄Serein.Tests.Plugin.dll
└─📄Serein.Tests.Plugin.runtimeconfig.json