ZJMaster.Plugin.Sdk 1.1.8

dotnet add package ZJMaster.Plugin.Sdk --version 1.1.8
                    
NuGet\Install-Package ZJMaster.Plugin.Sdk -Version 1.1.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZJMaster.Plugin.Sdk" Version="1.1.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZJMaster.Plugin.Sdk" Version="1.1.8" />
                    
Directory.Packages.props
<PackageReference Include="ZJMaster.Plugin.Sdk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZJMaster.Plugin.Sdk --version 1.1.8
                    
#r "nuget: ZJMaster.Plugin.Sdk, 1.1.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ZJMaster.Plugin.Sdk@1.1.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZJMaster.Plugin.Sdk&version=1.1.8
                    
Install as a Cake Addin
#tool nuget:?package=ZJMaster.Plugin.Sdk&version=1.1.8
                    
Install as a Cake Tool

ZJMaster.Plugin.Sdk

用于开发和构建外部 ZJMaster 插件。插件项目只需引用本包;需要框架 UI 控件时,再按需引用 ZJMaster.UI.Controls

<PackageReference Include="ZJMaster.Plugin.Sdk" Version="..." />

程序集名称必须以 ZJMaster.Plugins. 开头。构建后,SDK 默认把插件主 DLL、宿主未提供的私有 DLL、脚本和示例配置初始化到 solution 根目录的 Plugins/<AssemblyName>

可用属性:

  • ZJMasterDeployOnBuild=false:关闭自动部署。
  • ZJMasterPluginHasUi=false:显式声明纯后台插件,关闭三类 View 的构建契约校验。
  • ZJMasterPluginType=<type>:PluginType 不等于程序集名的 ZJMaster.Plugins. 后缀时显式指定。
  • ZJMasterWorkspaceDirectory=<path>:指定工作区。
  • ZJMasterPluginDeploymentDirectory=<path>:指定当前插件的部署目录。
  • ZJMasterPluginExampleConfig:显式增加示例配置文件。

UI 插件构建时必须在主程序集中生成公开的 {PluginType}CardView{PluginType}PageView{PluginType}ConfigurationView。类可以放在任意命名空间,但简单类名必须精确匹配。

脚本和示例配置只初始化一次;后续构建不会覆盖目标目录中的同名文件。DLL 每次构建都会重新生成,并清理旧二进制残留。

部署不会生成 PDB、deps、runtimeconfig 或 manifest。宿主共享程序集总是由宿主提供;插件额外使用的第三方托管/卫星 DLL 与 runtimes/win[-x64]/native 原生 DLL 才进入插件目录。显式引用与宿主不同版本的共享包会在构建时失败。

此 SDK 不写 HostApiMin/Max 兼容门槛。宿主始终尝试加载旧插件,仅在真实程序集、类型或方法不兼容时报告该插件失败。

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.8 0 8/24/2026
1.1.7 32 8/23/2026
1.1.6 38 8/22/2026
1.1.5 59 8/21/2026
1.1.4 59 8/20/2026
1.1.3 47 8/18/2026
1.1.2 47 8/18/2026
1.1.1 47 8/18/2026
1.1.0-preview.3 38 8/18/2026