ZJMaster.ScriptValidation.Tool 1.2.0

dotnet tool install --global ZJMaster.ScriptValidation.Tool --version 1.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local ZJMaster.ScriptValidation.Tool --version 1.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ZJMaster.ScriptValidation.Tool&version=1.2.0
                    
nuke :add-package ZJMaster.ScriptValidation.Tool --version 1.2.0
                    

ZJMaster Script Validation Tool

用于在不启动 ZJMaster 主程序的情况下,对插件中的单个 C# 脚本执行编译和分析预检。当前工具包面向 Windows x64,需要安装 .NET 10 SDK 或运行时。

dotnet tool restore
dotnet zjmaster-script-precheck --script ZJMaster.Plugins.MyPlugin/Scripts/example.csx

工具会从目标脚本向上识别 solution 工作区;单插件目录则通过同级 .csproj 和 Scripts 识别。工作区级公共脚本放在 GlobalScripts,并通过 @global/... 引用。

退出码:

  • 0:预检通过。
  • 1:发现脚本编译或分析错误。
  • 2:参数、路径或插件上下文错误。
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.

This package has no dependencies.

Version Downloads Last Updated
1.2.0 99 10/20/2026
1.1.16 99 10/15/2026
1.1.15 93 10/14/2026
1.1.13 190 9/7/2026
1.1.12 137 9/3/2026
1.1.11 135 9/3/2026
1.1.9 129 8/29/2026
1.1.8 127 8/24/2026
1.1.7 125 8/23/2026
1.1.6 130 8/22/2026
1.1.5 140 8/21/2026
1.1.4 165 8/20/2026
1.1.3 125 8/18/2026
1.1.2 132 8/18/2026
1.1.1 131 8/18/2026
1.1.0-preview.3 95 8/18/2026
1.1.0-preview.2 95 8/10/2026
1.1.0-preview.1 92 8/10/2026