SecRandom.PluginSdk 3.0.0-alpha.2

This is a prerelease version of SecRandom.PluginSdk.
dotnet add package SecRandom.PluginSdk --version 3.0.0-alpha.2
                    
NuGet\Install-Package SecRandom.PluginSdk -Version 3.0.0-alpha.2
                    
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="SecRandom.PluginSdk" Version="3.0.0-alpha.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SecRandom.PluginSdk" Version="3.0.0-alpha.2" />
                    
Directory.Packages.props
<PackageReference Include="SecRandom.PluginSdk" />
                    
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 SecRandom.PluginSdk --version 3.0.0-alpha.2
                    
#r "nuget: SecRandom.PluginSdk, 3.0.0-alpha.2"
                    
#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 SecRandom.PluginSdk@3.0.0-alpha.2
                    
#: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=SecRandom.PluginSdk&version=3.0.0-alpha.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SecRandom.PluginSdk&version=3.0.0-alpha.2&prerelease
                    
Install as a Cake Tool

SecRandom Plugin SDK

SDK for developing in-process SecRandom plugins. Plugins reference SecRandom.Core through this SDK and register services, settings pages, main pages, or other Core extensions from their entry point.

API version

  • manifest.yml apiVersion declares which host API the plugin targets.
  • The host rejects plugins whose apiVersion major is below PluginApiVersions.Current.Major (currently 3).
  • apiVersion follows the application major version and must be bumped with it.
  • version in manifest.yml is the plugin's own version and is independent of apiVersion.

Example manifest:

id: secrandom.example
name: SecRandom 示例插件
entranceAssembly: SecRandom.ExamplePlugin.dll
apiVersion: 3.0.0
version: 1.0.0
author: SECTL

Referencing the SDK

Published plugins reference the SDK package and exclude its runtime assets so the host supplies Core and its dependencies:

<PackageReference Include="SecRandom.PluginSdk" Version="3.0.0">
  <ExcludeAssets>runtime;native</ExcludeAssets>
</PackageReference>

The repository template defaults UseLocalPluginSdk=true so solution builds work before the SDK is published; set UseLocalPluginSdk=false with a NuGet source that contains SecRandom.PluginSdk to exercise the release packaging path.

Building a plugin package

Set <CreateSrpx>true</CreateSrpx> to produce srpx/<ProjectName>.srpx after every build. The package is a ZIP whose root contains manifest.yml, the entrance assembly, and any external package dependencies. Place it in data/cache/plugin-packages and restart the desktop application to install.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in 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
3.0.0-alpha.2 67 8/16/2026