Consolonia.PreviewHost
11.2.3-beta.826
See the version list below for details.
dotnet tool install --global Consolonia.PreviewHost --version 11.2.3-beta.826
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Consolonia.PreviewHost --version 11.2.3-beta.826
#tool dotnet:?package=Consolonia.PreviewHost&version=11.2.3-beta.826&prerelease
nuke :add-package Consolonia.PreviewHost --version 11.2.3-beta.826
Consolonia.PreviewHost
This is a tool which enables a live view of a consolonia axaml file, or a consolonia project.
Background
Consolonia is a TUI (Text User Interface) (GUI Framework) implementation for Avalonia UI
Supports XAML, data bindings, animation, styling and the rest from Avalonia.
Showcase (click picture to see video)
Installation
To install the tool, you can use the following command:
dotnet tool install -g Consolonia.PreviewHost
Usage
To use the tool, you can use the following command:
Consolonia.PreviewHost <path-to-axaml-file>|<path-to-project-file>|<path-to-project-directory>
It will monitor the file or directory for changes, and will automatically update the preview when changes are detected.
Run the following command to monitor the project or folder:
Conoslonia.PreviewHost <path-to-project-file-or-folder>
Run following command to monitor a given .axaml file.
Conoslonia.PreviewHost <.axaml file name>
NOTE: In single file mode the tool will exit when you hit escape key
Running inside Visual Studio
- Open the solution in Visual Studio.
- Open a Terminal (View → Terminal).
- run the following command
Consolonia.PreviewHost .
Running inside Visual Studio Code
To integrate the tool with Visual Studio Code, you can use the following steps:
- Open the project directory in Visual Studio Code.
- Open a terminal inside of visual studio code
- run the following command
Consolonia.PreviewHost .
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. |
This package has no dependencies.