mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-10-31 17:15:28 +08:00 
			
		
		
		
	 Patrik Svensson
					Patrik Svensson
				
			
				
					committed by
					
						 Phil Scott
						Phil Scott
					
				
			
			
				
	
			
			
			 Phil Scott
						Phil Scott
					
				
			
						parent
						
							8fed3bc575
						
					
				
				
					commit
					225305f90e
				
			| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <IsPackable>false</IsPackable> |     <IsPackable>false</IsPackable> | ||||||
|     <ExampleName>Delegates</ExampleName> |     <ExampleName>Delegates</ExampleName> | ||||||
|     <ExampleDescription>Demonstrates how to specify commands as delegates.</ExampleDescription> |     <ExampleDescription>Demonstrates how to specify commands as delegates.</ExampleDescription> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <IsPackable>false</IsPackable> |     <IsPackable>false</IsPackable> | ||||||
|     <ExampleName>Demo</ExampleName> |     <ExampleName>Demo</ExampleName> | ||||||
|     <ExampleDescription>Demonstrates the most common use cases of Spectre.Cli.</ExampleDescription> |     <ExampleDescription>Demonstrates the most common use cases of Spectre.Cli.</ExampleDescription> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <IsPackable>false</IsPackable> |     <IsPackable>false</IsPackable> | ||||||
|     <ExampleName>Dynamic</ExampleName> |     <ExampleName>Dynamic</ExampleName> | ||||||
|     <ExampleDescription>Demonstrates how to define dynamic commands.</ExampleDescription> |     <ExampleDescription>Demonstrates how to define dynamic commands.</ExampleDescription> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <IsPackable>false</IsPackable> |     <IsPackable>false</IsPackable> | ||||||
|     <ExampleName>Injection</ExampleName> |     <ExampleName>Injection</ExampleName> | ||||||
|     <ExampleDescription>Demonstrates how to use dependency injection with Spectre.Cli.</ExampleDescription> |     <ExampleDescription>Demonstrates how to use dependency injection with Spectre.Cli.</ExampleDescription> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <IsPackable>false</IsPackable> |     <IsPackable>false</IsPackable> | ||||||
|     <ExampleName>Logging</ExampleName> |     <ExampleName>Logging</ExampleName> | ||||||
|     <ExampleDescription>Demonstrates how to dynamically configure Serilog for logging using parameters from a command.</ExampleDescription> |     <ExampleDescription>Demonstrates how to dynamically configure Serilog for logging using parameters from a command.</ExampleDescription> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Borders</ExampleTitle> |     <ExampleTitle>Borders</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates the different kind of borders.</ExampleDescription> |     <ExampleDescription>Demonstrates the different kind of borders.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Calendars</ExampleTitle> |     <ExampleTitle>Calendars</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render calendars.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render calendars.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Canvas</ExampleTitle> |     <ExampleTitle>Canvas</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render pixels and images.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render pixels and images.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Charts</ExampleTitle> |     <ExampleTitle>Charts</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render charts in a console.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render charts in a console.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Colors</ExampleTitle> |     <ExampleTitle>Colors</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to use [yellow]c[/][red]o[/][green]l[/][blue]o[/][aqua]r[/][lime]s[/] in the console.</ExampleDescription> |     <ExampleDescription>Demonstrates how to use [yellow]c[/][red]o[/][green]l[/][blue]o[/][aqua]r[/][lime]s[/] in the console.</ExampleDescription> | ||||||
|     <ExampleGroup>Misc</ExampleGroup> |     <ExampleGroup>Misc</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Columns</ExampleTitle> |     <ExampleTitle>Columns</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render data into columns.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render data into columns.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Cursor</ExampleTitle> |     <ExampleTitle>Cursor</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to move the cursor.</ExampleDescription> |     <ExampleDescription>Demonstrates how to move the cursor.</ExampleDescription> | ||||||
|     <ExampleGroup>Misc</ExampleGroup> |     <ExampleGroup>Misc</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Emojis</ExampleTitle> |     <ExampleTitle>Emojis</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render emojis.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render emojis.</ExampleDescription> | ||||||
|     <ExampleGroup>Misc</ExampleGroup> |     <ExampleGroup>Misc</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Exceptions</ExampleTitle> |     <ExampleTitle>Exceptions</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render formatted exceptions.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render formatted exceptions.</ExampleDescription> | ||||||
|     <ExampleGroup>Misc</ExampleGroup> |     <ExampleGroup>Misc</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Figlet</ExampleTitle> |     <ExampleTitle>Figlet</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render FIGlet text.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render FIGlet text.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Grids</ExampleTitle> |     <ExampleTitle>Grids</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render grids in a console.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render grids in a console.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Info</ExampleTitle> |     <ExampleTitle>Info</ExampleTitle> | ||||||
|     <ExampleDescription>Displays the capabilities of the current console.</ExampleDescription> |     <ExampleDescription>Displays the capabilities of the current console.</ExampleDescription> | ||||||
|     <ExampleGroup>Misc</ExampleGroup> |     <ExampleGroup>Misc</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Links</ExampleTitle> |     <ExampleTitle>Links</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render links in a console.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render links in a console.</ExampleDescription> | ||||||
|     <ExampleGroup>Misc</ExampleGroup> |     <ExampleGroup>Misc</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Live</ExampleTitle> |     <ExampleTitle>Live</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to do live updates.</ExampleDescription> |     <ExampleDescription>Demonstrates how to do live updates.</ExampleDescription> | ||||||
|     <ExampleGroup>Live</ExampleGroup> |     <ExampleGroup>Live</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>LiveTable</ExampleTitle> |     <ExampleTitle>LiveTable</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to do live updates in a table.</ExampleDescription> |     <ExampleDescription>Demonstrates how to do live updates in a table.</ExampleDescription> | ||||||
|     <ExampleGroup>Live</ExampleGroup> |     <ExampleGroup>Live</ExampleGroup> | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								examples/Console/Minimal/GlobalUsings.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								examples/Console/Minimal/GlobalUsings.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | global using Spectre.Console; | ||||||
|  | global using static Spectre.Console.AnsiConsole; | ||||||
							
								
								
									
										16
									
								
								examples/Console/Minimal/Minimal.csproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								examples/Console/Minimal/Minimal.csproj
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | |||||||
|  | <Project Sdk="Microsoft.NET.Sdk"> | ||||||
|  |  | ||||||
|  |   <PropertyGroup> | ||||||
|  |     <OutputType>Exe</OutputType> | ||||||
|  |     <TargetFramework>net6.0</TargetFramework> | ||||||
|  |     <ImplicitUsings>enable</ImplicitUsings> | ||||||
|  |     <ExampleTitle>Minimal</ExampleTitle> | ||||||
|  |     <ExampleDescription>Demonstrates a minimal console application.</ExampleDescription> | ||||||
|  |     <ExampleGroup>Live</ExampleGroup> | ||||||
|  |   </PropertyGroup> | ||||||
|  |  | ||||||
|  |   <ItemGroup> | ||||||
|  |     <ProjectReference Include="..\..\Shared\Shared.csproj" /> | ||||||
|  |   </ItemGroup> | ||||||
|  |  | ||||||
|  | </Project> | ||||||
							
								
								
									
										13
									
								
								examples/Console/Minimal/Program.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								examples/Console/Minimal/Program.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | |||||||
|  | // Write a markup line to the console | ||||||
|  | MarkupLine("[yellow]Hello[/], [blue]World[/]!"); | ||||||
|  |  | ||||||
|  | // Write text to the console | ||||||
|  | WriteLine("Hello, World!"); | ||||||
|  |  | ||||||
|  | // Write a table to the console | ||||||
|  | Write(new Table() | ||||||
|  |     .RoundedBorder() | ||||||
|  |     .AddColumns("[red]Greeting[/]", "[red]Subject[/]") | ||||||
|  |     .AddRow("[yellow]Hello[/]", "World") | ||||||
|  |     .AddRow("[green]Oh hi[/]", "[blue u]Mark[/]")); | ||||||
|  |  | ||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Panels</ExampleTitle> |     <ExampleTitle>Panels</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render items in panels.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render items in panels.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Progress</ExampleTitle> |     <ExampleTitle>Progress</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to show progress bars.</ExampleDescription> |     <ExampleDescription>Demonstrates how to show progress bars.</ExampleDescription> | ||||||
|     <ExampleGroup>Status</ExampleGroup> |     <ExampleGroup>Status</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <LangVersion>9</LangVersion> |     <LangVersion>9</LangVersion> | ||||||
|     <ExampleTitle>Prompt</ExampleTitle> |     <ExampleTitle>Prompt</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to get input from a user.</ExampleDescription> |     <ExampleDescription>Demonstrates how to get input from a user.</ExampleDescription> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Rules</ExampleTitle> |     <ExampleTitle>Rules</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render horizontal rules (lines).</ExampleDescription> |     <ExampleDescription>Demonstrates how to render horizontal rules (lines).</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -1,8 +1,8 @@ | |||||||
| <Project Sdk="Microsoft.NET.Sdk"> | <Project Sdk="Microsoft.NET.Sdk"> | ||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Showcase</ExampleTitle> |     <ExampleTitle>Showcase</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstation of Spectre.Console.</ExampleDescription> |     <ExampleDescription>Demonstation of Spectre.Console.</ExampleDescription> | ||||||
|     <ExampleGroup>Misc</ExampleGroup> |     <ExampleGroup>Misc</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Status</ExampleTitle> |     <ExampleTitle>Status</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to show status updates.</ExampleDescription> |     <ExampleDescription>Demonstrates how to show status updates.</ExampleDescription> | ||||||
|     <ExampleGroup>Status</ExampleGroup> |     <ExampleGroup>Status</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Tables</ExampleTitle> |     <ExampleTitle>Tables</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render tables in a console.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render tables in a console.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <OutputType>Exe</OutputType> |     <OutputType>Exe</OutputType> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleTitle>Trees</ExampleTitle> |     <ExampleTitle>Trees</ExampleTitle> | ||||||
|     <ExampleDescription>Demonstrates how to render trees in a console.</ExampleDescription> |     <ExampleDescription>Demonstrates how to render trees in a console.</ExampleDescription> | ||||||
|     <ExampleGroup>Widgets</ExampleGroup> |     <ExampleGroup>Widgets</ExampleGroup> | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
|  |  | ||||||
| Microsoft Visual Studio Solution File, Format Version 12.00 | Microsoft Visual Studio Solution File, Format Version 12.00 | ||||||
| # Visual Studio Version 16 | # Visual Studio Version 17 | ||||||
| VisualStudioVersion = 16.0.30114.105 | VisualStudioVersion = 17.0.31903.59 | ||||||
| MinimumVisualStudioVersion = 10.0.40219.1 | MinimumVisualStudioVersion = 10.0.40219.1 | ||||||
| Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{2571F1BD-6556-4F96-B27B-B6190E1BF13A}" | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{2571F1BD-6556-4F96-B27B-B6190E1BF13A}" | ||||||
| EndProject | EndProject | ||||||
| @@ -65,6 +65,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Trees", "Console\Trees\Tree | |||||||
| EndProject | EndProject | ||||||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveTable", "Console\LiveTable\LiveTable.csproj", "{E5FAAFB4-1D0F-4E29-A94F-A647D64AE64E}" | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveTable", "Console\LiveTable\LiveTable.csproj", "{E5FAAFB4-1D0F-4E29-A94F-A647D64AE64E}" | ||||||
| EndProject | EndProject | ||||||
|  | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Minimal", "Console\Minimal\Minimal.csproj", "{1780A30A-397A-4CC3-B2A0-A385D9081FA2}" | ||||||
|  | EndProject | ||||||
| Global | Global | ||||||
| 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||||||
| 		Debug|Any CPU = Debug|Any CPU | 		Debug|Any CPU = Debug|Any CPU | ||||||
| @@ -423,6 +425,18 @@ Global | |||||||
| 		{E5FAAFB4-1D0F-4E29-A94F-A647D64AE64E}.Release|x64.Build.0 = Release|Any CPU | 		{E5FAAFB4-1D0F-4E29-A94F-A647D64AE64E}.Release|x64.Build.0 = Release|Any CPU | ||||||
| 		{E5FAAFB4-1D0F-4E29-A94F-A647D64AE64E}.Release|x86.ActiveCfg = Release|Any CPU | 		{E5FAAFB4-1D0F-4E29-A94F-A647D64AE64E}.Release|x86.ActiveCfg = Release|Any CPU | ||||||
| 		{E5FAAFB4-1D0F-4E29-A94F-A647D64AE64E}.Release|x86.Build.0 = Release|Any CPU | 		{E5FAAFB4-1D0F-4E29-A94F-A647D64AE64E}.Release|x86.Build.0 = Release|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Debug|x64.ActiveCfg = Debug|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Debug|x64.Build.0 = Debug|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Debug|x86.ActiveCfg = Debug|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Debug|x86.Build.0 = Debug|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Release|Any CPU.Build.0 = Release|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Release|x64.ActiveCfg = Release|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Release|x64.Build.0 = Release|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Release|x86.ActiveCfg = Release|Any CPU | ||||||
|  | 		{1780A30A-397A-4CC3-B2A0-A385D9081FA2}.Release|x86.Build.0 = Release|Any CPU | ||||||
| 	EndGlobalSection | 	EndGlobalSection | ||||||
| 	GlobalSection(SolutionProperties) = preSolution | 	GlobalSection(SolutionProperties) = preSolution | ||||||
| 		HideSolutionNode = FALSE | 		HideSolutionNode = FALSE | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| <Project Sdk="Microsoft.NET.Sdk"> | <Project Sdk="Microsoft.NET.Sdk"> | ||||||
|  |  | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <TargetFramework>net5.0</TargetFramework> |     <TargetFramework>net6.0</TargetFramework> | ||||||
|     <ExampleVisible>false</ExampleVisible> |     <ExampleVisible>false</ExampleVisible> | ||||||
|     <Nullable>enable</Nullable> |     <Nullable>enable</Nullable> | ||||||
|   </PropertyGroup> |   </PropertyGroup> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user