FrApp42.WPF.Pwsh
1.0.0
dotnet add package FrApp42.WPF.Pwsh --version 1.0.0
NuGet\Install-Package FrApp42.WPF.Pwsh -Version 1.0.0
<PackageReference Include="FrApp42.WPF.Pwsh" Version="1.0.0" />
<PackageVersion Include="FrApp42.WPF.Pwsh" Version="1.0.0" />
<PackageReference Include="FrApp42.WPF.Pwsh" />
paket add FrApp42.WPF.Pwsh --version 1.0.0
#r "nuget: FrApp42.WPF.Pwsh, 1.0.0"
#:package FrApp42.WPF.Pwsh@1.0.0
#addin nuget:?package=FrApp42.WPF.Pwsh&version=1.0.0
#tool nuget:?package=FrApp42.WPF.Pwsh&version=1.0.0
WPF.Pwsh
A WPF control that hosts a real PowerShell session (ConPTY) — the shell starts with the control, renders through the Windows Terminal control, and raises an event when it exits.
<PackageReference Include="FrApp42.WPF.Pwsh" Version="1.0.0" />
var terminal = new FrApp42.WPF.Pwsh.PwshTerminal(); // pwsh.exe, powershell.exe as fallback
terminal.OnSessionDisconnected += (_, _) => CloseTab(); // the shell exited
Content = terminal;
new PwshTerminal("wsl.exe")runs any other shell.WorkingDirectorysets where it starts.FontFamily/FontSizeset the terminal font (defaultMesloLGS Nerd Font Mono, 14).Disconnect()kills the shell,Dispose()tears the session down.
Windows only, net8.0-windows / net10.0-windows.
Publishing
Publish (.github/workflows/publish.yml) packs and pushes to nuget.org through Trusted Publishing — no API key
stored. Declare the policy on nuget.org (owner FrApp42, repository WPF.Pwsh, workflow file publish.yml), set the
repository secret NUGET_USER to your nuget.org profile name, then tag main: git tag v1.0.1 && git push origin v1.0.1.
The tag name (minus the v) becomes the package version.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- EasyWindowsTerminalControl (>= 1.0.38)
-
net8.0-windows7.0
- EasyWindowsTerminalControl (>= 1.0.38)
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.0.0 | 30 | 10/18/2026 |