CodeWF.Tools
1.3.13.5
dotnet add package CodeWF.Tools --version 1.3.13.5
NuGet\Install-Package CodeWF.Tools -Version 1.3.13.5
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="CodeWF.Tools" Version="1.3.13.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeWF.Tools" Version="1.3.13.5" />
<PackageReference Include="CodeWF.Tools" />
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 CodeWF.Tools --version 1.3.13.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeWF.Tools, 1.3.13.5"
#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 CodeWF.Tools@1.3.13.5
#: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=CodeWF.Tools&version=1.3.13.5
#tool nuget:?package=CodeWF.Tools&version=1.3.13.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CodeWF.Tools
| 包名 | NuGet 链接 | 下载量 |
|---|---|---|
| CodeWF.Tools | ||
| CodeWF.Tools.Core | ||
| CodeWF.Tools.Files | ||
| CodeWF.Tools.Image |
CodeWF.Tools,让 C# 编码变得更简单。
CodeWF.Tools 是一个面向 C# 开发者的开源工具库,提供字符串、日期时间、文件操作、JSON/YAML 转换、图片处理等常用能力,目标是简化日常开发任务并提升开发效率。
- CodeWF.Tools.Core: .NET原生功能扩展,无第三方库依赖
- CodeWF.Tools.Files:文件操作类集合
- CodeWF.Tools.Image:图片处理集合
- CodeWF.Tools:集成前面的包,功能最全
仓库规范
- 当前版本:
1.3.13.5,版本号统一维护在根目录Directory.Build.props的<Version>节点。 - NuGet 包项目统一支持
net8.0;net10.0;Demo、App、测试与内部应用项目统一使用net11.0/net11.0-windows。 - 根目录
logo.svg、logo.png、logo.ico是唯一图标源,子工程只通过 MSBuildLink引用,不维护图标副本。 - 运行时帮助、Markdown 示例、内置备忘录、设计说明等业务文档按功能保留;仓库级入口文档使用根目录
README.md和UpdateLog.md。
开发
本仓库使用 NuGet 中央包管理,包版本统一维护在 Directory.Packages.props。
- 更新日志:UpdateLog.md
- 贡献指南:CONTRIBUTING.md
- 安全策略:SECURITY.md
- 一键打包:运行
pack.bat,NuGet 包输出到artifacts\packages。
感谢
- Masuit.Tools:https://github.com/ldqk/Masuit.Tools
第三方开源组件审计
检查时间:2026-05-20。检查范围包括 NuGet 元数据、恢复后的 project.assets.json、NuGet.org 信息以及上游源码/许可证链接。优先接受 MIT / Apache-2.0 / BSD。
| 包 | 使用范围 | 协议 | 源码/项目地址 | 结论 |
|---|---|---|---|---|
CsvHelper |
CodeWF.Tools.Files CSV 辅助 |
MS-PL OR Apache-2.0 | https://github.com/JoshClose/CsvHelper | 通过,采用 Apache-2.0 选项 |
Magick.NET-Q16-AnyCPU |
CodeWF.Tools.Image 图片辅助 |
Apache-2.0 | https://github.com/dlemstra/Magick.NET | 通过,14.13.1 |
MiniExcel |
CodeWF.Tools.Files Excel 辅助 |
Apache-2.0 | https://github.com/mini-software/MiniExcel | 通过,1.44.1 |
SharpCompress |
CodeWF.Tools.Files 压缩包辅助 |
MIT | https://github.com/adamhathcock/sharpcompress | 通过,1.0.0 |
System.Configuration.ConfigurationManager / System.Text.Json |
配置和 JSON 辅助 | MIT | https://github.com/dotnet/dotnet | 通过,10.0.8 |
YamlDotNet |
CodeWF.Tools.Files YAML 辅助 |
MIT | https://github.com/aaubry/YamlDotNet | 通过 |
ZXing.Net.Bindings.Magick |
二维码/条码辅助 | Apache-2.0 | https://github.com/micjahn/ZXing.Net | 通过 |
Avalonia / Avalonia.Desktop / Avalonia.Fonts.Inter / Avalonia.Themes.Fluent |
Demo 使用 | MIT | https://github.com/AvaloniaUI/Avalonia | 通过,12.0.3 |
Bogus |
测试数据 | MIT | https://github.com/bchavez/Bogus | 通过 |
CodeWF.LogViewer.Avalonia |
Demo 使用 | MIT | https://github.com/dotnet9/CodeWF.LogViewer | 自研开源包 |
ReactiveUI.Avalonia |
Demo 使用 | MIT | https://github.com/reactiveui/reactiveui | 通过 |
VC-LTL |
Windows Demo 运行时兼容 | EPL-2.0 | https://github.com/Chuyu-Team/VC-LTL5 | 源码开放,按“非优先但可追溯”规则通过 |
Microsoft.NET.Test.Sdk / coverlet.collector |
测试 | MIT | https://github.com/microsoft/vstest / https://github.com/coverlet-coverage/coverlet | 通过,Microsoft.NET.Test.Sdk 18.5.1、coverlet.collector 10.0.1 |
xunit.v3 / xunit.runner.visualstudio |
测试 | Apache-2.0 | https://github.com/xunit/xunit | 通过 |
传递依赖检查:
| 依赖分组 | 代表包 | 协议 | 源码/项目地址 | 结论 |
|---|---|---|---|---|
| .NET 运行时/配置栈 | System.Diagnostics.EventLog、System.IO.Pipelines、System.Text.Encodings.Web、System.Security.Cryptography.ProtectedData |
MIT | https://github.com/dotnet/dotnet | 源码开放 |
| Magick.NET 核心 | Magick.NET.Core |
Apache-2.0 | https://github.com/dlemstra/Magick.NET | 源码开放 |
| ZXing 核心 | ZXing.Net |
Apache-2.0 | https://github.com/micjahn/ZXing.Net | 源码开放 |
| Avalonia 栈 | Avalonia.*、Avalonia.BuildServices |
MIT | https://github.com/AvaloniaUI/Avalonia | 源码开放 |
| ANGLE 原生包 | Avalonia.Angle.Windows.Natives |
BSD 风格许可证文件 | https://github.com/AvaloniaUI/angle | 源码开放 |
| Skia/HarfBuzz 绑定和原生资源 | SkiaSharp*、HarfBuzzSharp* |
NuGet 包为 MIT;底层原生项目源码开放 | https://github.com/mono/SkiaSharp | 源码开放 |
| Reactive 栈 | ReactiveUI、DynamicData、Splat、System.Reactive |
MIT | https://github.com/reactiveui/reactiveui / https://github.com/reactiveui/DynamicData / https://github.com/reactiveui/splat / https://github.com/dotnet/reactive | 源码开放 |
| Linux 桌面互操作 | MicroCom.Runtime、Tmds.DBus.Protocol |
MIT | https://github.com/kekekeks/MicroCom / https://github.com/tmds/Tmds.DBus | 源码开放 |
| 自研日志依赖 | CodeWF.Log.Core |
MIT | https://github.com/dotnet9/CodeWF.LogViewer | 自研源码开放包 |
| 测试工具链 | Microsoft.*、Newtonsoft.Json、xunit.* |
MIT / Apache-2.0 | https://github.com/microsoft/vstest / https://github.com/microsoft/testfx / https://github.com/JamesNK/Newtonsoft.Json / https://github.com/xunit/xunit | 源码开放 |
当前未有意保留非开源或黑盒依赖。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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.
-
net10.0
- CodeWF.Tools.Core (>= 1.3.13.5)
- CodeWF.Tools.Files (>= 1.3.13.5)
- CodeWF.Tools.Image (>= 1.3.13.5)
- CsvHelper (>= 33.1.0)
- Magick.NET-Q16-AnyCPU (>= 14.14.0)
- MiniExcel (>= 1.44.1)
- SharpCompress (>= 1.0.0)
- System.Configuration.ConfigurationManager (>= 10.0.8)
- YamlDotNet (>= 18.0.0)
- ZXing.Net.Bindings.Magick (>= 0.16.17)
-
net8.0
- CodeWF.Tools.Core (>= 1.3.13.5)
- CodeWF.Tools.Files (>= 1.3.13.5)
- CodeWF.Tools.Image (>= 1.3.13.5)
- CsvHelper (>= 33.1.0)
- Magick.NET-Q16-AnyCPU (>= 14.14.0)
- MiniExcel (>= 1.44.1)
- SharpCompress (>= 1.0.0)
- System.Configuration.ConfigurationManager (>= 10.0.8)
- System.Text.Json (>= 10.0.8)
- YamlDotNet (>= 18.0.0)
- ZXing.Net.Bindings.Magick (>= 0.16.17)
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.3.13.5 | 88 | 6/8/2026 |
| 1.3.13.2 | 108 | 5/20/2026 |
| 1.3.13 | 117 | 5/9/2026 |
| 1.3.12.3 | 135 | 4/14/2026 |
| 1.3.12 | 129 | 3/17/2026 |
| 1.3.11.6 | 110 | 3/3/2026 |
| 1.3.11.3 | 151 | 2/7/2026 |
| 1.3.11.2 | 118 | 2/5/2026 |
| 1.3.8.8 | 342 | 11/12/2025 |
| 1.3.8.3 | 183 | 10/17/2025 |
| 1.3.8.2 | 206 | 10/15/2025 |
| 1.3.8.1 | 282 | 6/18/2025 |
| 1.3.8 | 300 | 5/16/2025 |
| 1.3.6.2 | 271 | 4/22/2025 |
| 1.3.5.5 | 267 | 3/10/2025 |
| 1.3.5 | 199 | 2/26/2025 |
| 1.3.4.2 | 189 | 2/24/2025 |
| 1.3.2 | 202 | 2/21/2025 |
| 1.3.1.2 | 189 | 1/9/2025 |
| 1.3.0 | 205 | 1/2/2025 |
Loading failed