ZYC.Framework.Alpha 1.6.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package ZYC.Framework.Alpha --version 1.6.2
                    
NuGet\Install-Package ZYC.Framework.Alpha -Version 1.6.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="ZYC.Framework.Alpha" Version="1.6.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZYC.Framework.Alpha" Version="1.6.2" />
                    
Directory.Packages.props
<PackageReference Include="ZYC.Framework.Alpha" />
                    
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 ZYC.Framework.Alpha --version 1.6.2
                    
#r "nuget: ZYC.Framework.Alpha, 1.6.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 ZYC.Framework.Alpha@1.6.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=ZYC.Framework.Alpha&version=1.6.2
                    
Install as a Cake Addin
#tool nuget:?package=ZYC.Framework.Alpha&version=1.6.2
                    
Install as a Cake Tool

ZYC.Framework.Alpha

ZYC.Framework

A high-performance, modular, and extensible desktop automation framework built with .NET 10 and WPF.

ZYC.Framework integrates .NET Aspire for distributed application orchestration and supports a hybrid UI approach using WebView2 and Blazor, enabling flexible composition of native desktop and web-based experiences.

Key Features

  • Modular, plugin-based architecture (dynamic loading, independent development)
  • WPF desktop host with multi-workspace and multi-tab UI patterns
  • Hybrid UI: WebView2 embedding + Blazor UI reuse
  • Built-in task management, global exception handling, and localization support
  • Aspire-ready orchestration and service management

Quick Start

See: docs/quick-start.md

License

MIT

Product 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 was computed.  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
1.6.4 106 11/21/2026
1.6.3 102 11/20/2026
1.6.2 123 11/16/2026
1.6.1 107 11/4/2026
1.6.0 121 10/29/2026
1.5.9 110 10/23/2026
1.5.8 108 10/20/2026
1.5.7 113 10/17/2026
1.5.6 111 10/12/2026
1.5.5 114 10/11/2026
1.5.4 102 10/9/2026
1.5.3 117 10/7/2026
1.5.2 115 10/2/2026
1.5.1 116 10/1/2026
1.5.0 119 9/26/2026
1.4.9 184 9/19/2026
1.4.7 173 9/7/2026
1.4.6 128 9/1/2026
1.4.5 137 8/29/2026
1.4.4 134 8/20/2026
Loading failed

# 🚀 Release Notes - Version 1.6.2

**Release Date:** 2026-11-16

---

## 🆕 New Features

* Added the `react` project template. `zyc new <ProjectName> --template react` creates a host whose tab is a WebView2 view running a Vite + React + TypeScript front end, with a typed `window.chrome.webview` message bridge between the page and C#.
* Added the `__PROJECT_WEB_NAME__` project template token: a lowercase, hyphen-separated project name used as the npm package name and the WebView2 virtual host, for example `mycompany-tools`.
* Added the application-level `HybridIcon16Style` and `PackIconMaterial16Style` styles for 16 px icons.

---

## 🛠 Improvements

* Projects created from the `react` template build their front end as part of `dotnet build`: `npm install` runs when `package.json` changes and `npm run build` runs when front-end sources change. Debug builds load the Vite dev server at `http://localhost:5173` while `npm run dev` is running, so front-end changes appear without rebuilding.
* `zyc new` writes front-end template files (`package.json`, `tsconfig.json`, `.ts`, `.tsx`, `.html`, `.css`) as UTF-8 without a BOM so Node.js tooling reads them correctly. Other text files are still written as UTF-8 with BOM.
* The `minimal` template now includes an `.editorconfig`, and the `.editorconfig` files of the `console`, `build`, and `wpf` templates add rules for `*.DotSettings` and `*.fx` files.

---

## 🐛 Fixes

None

---

## 🔄 Compatibility

* **Breaking change:** `AspireModuleContansts` in `ZYC.Framework.Modules.Aspire.Abstractions` has been renamed to `AspireModuleConstants`. Update source references; assemblies compiled against the old name must be recompiled.
* Building a project created from the `react` template requires Node.js 20.19+ or 22.12+, and running it requires the Microsoft Edge WebView2 Runtime. Pass `-p:SkipClientAppBuild=true` to skip the front-end build.

---

## 📦 Installation

```bash
dotnet add package ZYC.Framework.Alpha --version 1.6.2
dotnet tool install --global ZYC.Framework.CLI --version 1.6.2
```

---

## 📚 Resources

* 📖 [Documentation](https://ziyucai1984.github.io/blob/zyc-framework/README.html)
* 🐞 [Report an Issue](https://github.com/ZiYuCai1984/ZYC.Framework/issues)

---

**Thank you for trying out ZYC.Framework.Alpha!**
Your feedback will help shape future releases.