WindowsForms.Console 2.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package WindowsForms.Console --version 2.0.10
NuGet\Install-Package WindowsForms.Console -Version 2.0.10
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="WindowsForms.Console" Version="2.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WindowsForms.Console --version 2.0.10
#r "nuget: WindowsForms.Console, 2.0.10"
#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.
// Install WindowsForms.Console as a Cake Addin
#addin nuget:?package=WindowsForms.Console&version=2.0.10

// Install WindowsForms.Console as a Cake Tool
#tool nuget:?package=WindowsForms.Console&version=2.0.10

nuget NuGet Build status


Component of WindowsForm


  • import nuget package to the project
        Install-Package WindowsForms.Console
  • initial code for any Form which has FConsole component
        public Form1()
            CheckForIllegalCrossThreadCalls = false; // <=== this is important for async access to thread
        this.WriteLine("text");//(extension method)
        this.WriteLine("text",Color.White);//(extension method)
        this.Write("text");//(extension method)
        this.Write("text",Color.White);//(extension method)
        var line = fconsole1.ReadLine();//used in async method
        var line = this.ReadLine();//this as any Form (extension method)
       var line = await fconsole1.ReadKey(); //used in async method
       var line = await this.ReadKey();//(extension method)


Supported Platforms

  • WindowsForm Application
  • v4.5 to 4.6.2 (v4.7 temporarily not supported)
  • .Net Core 3.0
  • .Net Core 3.1
  • .Net 5 RC1
  • WPF (not supported yet)


  • System.Windows.Form
  • System

Example Project

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • net5.0-windows7.0

    • No dependencies.

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
3.0.2 333 3/16/2023
3.0.1 219 3/13/2023
3.0.0 260 2/26/2023 246 10/31/2021
2.0.11 468 10/22/2021
2.0.10 524 10/11/2020
2.0.9 585 10/25/2019

supports .NET 5 RC1