FryPdf.Plugin.CSharpEditor 2.0.8

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

CSharpPlayground (FrySharp)

CI Microsoft Store Homebrew License: MIT .NET Avalonia UI Sponsor

CSharpPlayground (standalone executable: FrySharp) is an interactive multi-language code studio, polyglot Jupyter-style notebook environment for .NET 10, Python, Rust, and extensible language toolchains built with Avalonia UI.

It operates both as:

  1. A Standalone Desktop Application (FrySharp): Native desktop app for macOS (.dmg) and Windows (.msix / .exe installer) with VS Code-inspired layout.
  2. A FryPDF Ecosystem Plugin (com.frypdf.plugin.csharpeditor): Edge-to-edge full-viewport workspace and code automation plugin for FryPDF.

🎎 Product Demo

FrySharp Demo: Run C#, Python, Rust, Go, Java, C++, JS, F# & SQL in ONE Unified Notebook & IDE

Click here to watch the FrySharp Demo on YouTube — Supports C#, Python, Rust, Go, Java, C++, JavaScript, F# & SQL


ðŸ“Ķ Installation

macOS (via Homebrew)

# Add the tap and install FrySharp
brew install --cask prashantunity/tap/frysharp

To update when a new version is released:

brew upgrade --cask frysharp

Windows (via Microsoft Store)

Get FrySharp from the official Microsoft Store:


🚀 Quick Start (Build from Source)

Prerequisites

Run Standalone Desktop App (FrySharp)

# Clone the repository
git clone https://github.com/PrashantUnity/CSharpPlayground.git
cd CSharpPlayground

# Run standalone desktop app
dotnet run --project Runner/CSharpEditorPlugin.Runner.csproj

Run Automated Unit Tests

# Run the unit tests (the real-Python ones run when Python 3.9+ is installed)
dotnet test CSharpEditorPlugin.slnx

🏗 Architecture: Stateful Notebook Execution

flowchart TD
    subgraph Notebook UI
        C1["Cell 1: var m = 10;"]
        C2["Cell 2: Console.WriteLine(m * 2);"]
        C3["Cell 3: Display.Image(surface.Snapshot());"]
    end

    subgraph "NotebookExecutionKernel (Persistent Session)"
        Init["ScriptOptions\n(System Refs + NuGet Refs + Usings)"]
        S0["Submission #0: ScriptState\n(Creates 'm' field, Output = 10)"]
        S1["Submission #1: ScriptState.ContinueWithAsync\n(References S0, Reads 'm', Output = 20)"]
        S2["Submission #2: ScriptState.ContinueWithAsync\n(References S1, Rich Media Display)"]
        VarExp["Variable Inspector State\n[m : int = 10]"]
    end

    subgraph Rich Cell Output
        Out1["Text Output / Badge"]
        Out2["Console Output: 20"]
        Out3["Avalonia Image Control\n(Zoom, Copy, Save PNG)"]
    end

    C1 -->|"Execute Cell"| S0
    S0 -->|"State Chaining"| S1
    C2 -->|"Execute Cell"| S1
    S1 -->|"State Chaining"| S2
    C3 -->|"Execute Cell"| S2
    
    S0 --> VarExp
    S1 --> VarExp
    S2 --> VarExp

    S0 --> Out1
    S1 --> Out2
    S2 --> Out3

ðŸĪ– Model Context Protocol (MCP) Integration

FrySharp provides 9 native tools to autonomous AI agents over the Model Context Protocol (MCP) for direct code execution, compiler error diagnosis, editor injection, and live debugging.

See the complete documentation:


💖 Sponsor & Support

How Your Sponsorship Works: A Scientific Flowchart

The Scientific Sponsorship Loop:

  1. You Fund ðŸ’ļ ➔ 2. I Buy Food 🍕 ➔ 3. Eat & Stay Healthy 🍜 ➔ 4. Code & Ship Features 🚀 (Alternative timeline: No food ➔ Dev dies 💀 ➔ Zero commits ðŸŠĶ)

If you find FrySharp (CSharpPlayground) helpful, consider keeping the developer fueled and alive:

👉 Sponsor @PrashantUnity on GitHub


📜 License

MIT License. See LICENSE for details.

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
2.0.8 87 10/22/2026
2.0.7 94 10/16/2026
2.0.5 94 10/14/2026
2.0.4 98 10/9/2026
2.0.3 99 10/4/2026
2.0.2 105 10/1/2026
2.0.1 102 10/1/2026
2.0.0 99 9/28/2026
1.0.6 105 9/25/2026
1.0.5 107 9/25/2026
1.0.4 107 9/24/2026
1.0.3 107 9/24/2026
0.1.2 110 9/21/2026
0.1.1 111 9/17/2026
0.1.0 108 9/14/2026
0.0.9 109 9/13/2026