Skip to content

更新库 优化插件安装包的制作#11

Open
lindexi wants to merge 3 commits intomasterfrom
t/lindexi/Docs
Open

更新库 优化插件安装包的制作#11
lindexi wants to merge 3 commits intomasterfrom
t/lindexi/Docs

Conversation

@lindexi
Copy link
Copy Markdown
Contributor

@lindexi lindexi commented Mar 13, 2026

原本是在制作插件的时候,制作安装包,制作安装包是重新 AOT 构建项目+用7z压缩插件内容。原本的方式会导致插件构建一次的时间很长

当前版本更改为预先 AOT + 无压缩 Overlay 方式,如此可以极大提升插件安装包制作速度

从原本6分钟减少为 3 秒

同时支持命令行功能:

  1. 显示调试命令行: Xx.exe debug show-content
  2. 静默安装: Xx.exe /S

安装包技术: https://github.com/dotnet-campus/DotNetCampus.Installer/

原本是在制作插件的时候,制作安装包,制作安装包是重新 AOT 构建项目+用7z压缩插件内容。原本的方式会导致插件构建一次的时间很长

当前版本更改为预先 AOT + 无压缩 Overlay 方式,如此可以极大提升插件安装包制作速度

从原本6分钟减少为 3 秒

同时支持命令行功能:

1. 显示调试命令行: `Xx.exe debug show-content`
2. 静默安装: `Xx.exe /S`

安装包技术: https://github.com/dotnet-campus/DotNetCampus.Installer/
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

本 PR 通过升级本地 dotnetCampus.EasiPlugin.Sdk(配合仓库内 packages 包源)来引入更快的插件安装包制作方案(预先 AOT + 无压缩 Overlay),并同步更新相关说明与元数据。

Changes:

  • 将示例项目对 dotnetCampus.EasiPlugin.Sdk 的引用升级到 2.1.1-alpha.3
  • 更新 README 中的本地 nupkg 指引(指向 2.1.1-alpha.3
  • 更新版权年份范围

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.

File Description
src/EasiPluginSample/EasiPluginSample.csproj 升级 SDK 包引用版本到 2.1.1-alpha.3
README.md 更新本地包文件名指引;调整 VS 版本说明(当前存在不一致)
Directory.Build.props 更新版权年份范围到 2025-2026
packages/dotnetcampus.easiplugin.sdk.2.1.1-alpha.3.nupkg 提供对应版本的本地 SDK 包以供还原

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lindexi lindexi requested a review from walterlv March 13, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants