AvaloniaSpy 1.8.2

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

AvaloniaSpy

<div align="right"> 简体中文 · English

</div>

Avalonia 应用诊断库。通过 TCP 提供视觉树、属性、布局和截图诊断能力,可通过 MCP 协议被 AI 调用。

A diagnostics library for Avalonia applications. Exposes the visual tree, properties, layout, and screenshots via TCP, and can be invoked by AI assistants through the MCP protocol.


简体中文

快速开始

dotnet add package AvaloniaSpy

App.axaml.cs 中启用诊断:

using AvaloniaSpy;

public override void OnFrameworkInitializationCompleted()
{
#if DEBUG
    this.EnableAvaloniaSpy();
#endif
    base.OnFrameworkInitializationCompleted();
}

安装 MCP 工具:

dotnet tool install --global AvaloniaSpy.DevTools.MCP

完整文档请参考 GitHub 仓库

包说明

说明
AvaloniaSpy 嵌入目标应用的诊断库,启动 TCP 诊断服务器
AvaloniaSpy.DevTools.MCP .NET 全局工具,桥接 AI 助手与目标应用
AvaloniaSpy.Previewer .NET 全局工具,独立 headless Avalonia 进程预览 .axaml 文件

许可证

Apache-2.0


English

Quick Start

dotnet add package AvaloniaSpy

Enable diagnostics in App.axaml.cs:

using AvaloniaSpy;

public override void OnFrameworkInitializationCompleted()
{
#if DEBUG
    this.EnableAvaloniaSpy();
#endif
    base.OnFrameworkInitializationCompleted();
}

Install the MCP tool:

dotnet tool install --global AvaloniaSpy.DevTools.MCP

See the GitHub repo for full documentation.

Packages

Package Description
AvaloniaSpy Library — embed in your app to start the TCP diagnostic server
AvaloniaSpy.DevTools.MCP .NET global tool — bridges AI assistants to your app via MCP
AvaloniaSpy.Previewer .NET global tool — headless Avalonia process for previewing .axaml files

License

Apache-2.0

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 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
1.8.2 301 7/28/2026
1.8.1 124 6/24/2026
1.8.0 110 6/23/2026
1.7.0 114 6/23/2026
1.6.2 115 6/23/2026
1.6.1 108 6/22/2026
1.6.0 117 6/22/2026
1.5.1 118 6/22/2026
1.5.0 115 6/22/2026
1.4.1 113 6/22/2026
1.4.0 110 6/21/2026
1.3.1 111 6/21/2026
1.3.0 112 6/21/2026
1.2.0 114 6/21/2026
1.1.2 109 6/21/2026
1.1.1 114 6/21/2026
1.1.0 108 6/21/2026
1.0.0 113 6/20/2026