ViceSharp.Host 1.1.0

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

ViceSharp.Host

The composition boundary of ViceSharp: it owns emulator sessions and exposes them over a versioned gRPC host surface.

What it is

ViceSharp.Host is the hosting layer of ViceSharp, a C#/.NET 10 port of the VICE Commodore 64 emulator. It wires the core, chips, architectures, monitor, and protocol libraries into runnable emulator sessions and owns their lifecycle: media capture, video frames, input, settings, snapshots, and diagnostics. It surfaces these as ASP.NET Core gRPC services (Grpc.AspNetCore with server reflection), so UI shells talk to the host, never to core devices directly.

Install

dotnet add package ViceSharp.Host

Usage

Register the host services and map their gRPC endpoints in an ASP.NET Core app:

using ViceSharp.Host.Services;

builder.Services.AddViceSharpGrpcHost();

var app = builder.Build();
app.MapViceSharpGrpcHost();
app.Run();

AddViceSharpGrpcHost registers IEmulatorHost plus the media, video, input, settings, monitor, snapshot, capture, and diagnostics services and the host-owned emulation worker; MapViceSharpGrpcHost publishes their gRPC endpoints.

Notes

ViceSharp ships no Commodore ROMs. Point VICESHARP_ROM_PATH at a VICE data root (or put x64sc on PATH) so sessions can load KERNAL, BASIC, and character ROMs.

License: GPL-2.0-or-later (derivative of VICE). Part of the ViceSharp project: https://github.com/sharpninja/vice-sharp

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
1.1.0 93 7/11/2026
1.0.5 97 7/10/2026
1.0.4 89 7/10/2026
1.0.2 100 7/8/2026
1.0.1 95 7/8/2026
0.9.0 97 7/2/2026