Skip to content

Commit

Permalink
Create Rth.Sample project to showcase how to use Rth
Browse files Browse the repository at this point in the history
  • Loading branch information
tulis committed Jan 3, 2021
1 parent 8f2de83 commit 5b09b76
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Rth.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Rth.Tests", "tests\Rth.Tests\Rth.Tests.csproj", "{74E95D29-DD3E-45C3-8F78-FED47DB771BD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{803AC8A6-160E-414F-AE4A-C6E83BF49BAF}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "console", "console", "{AAEE2E59-1D18-4E72-BB97-954FF32772BC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rth.Sample", "sample\console\Rth.Sample\Rth.Sample.csproj", "{3CBAFA25-BCD4-47F5-BD33-E9057F756009}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -61,12 +67,26 @@ Global
{74E95D29-DD3E-45C3-8F78-FED47DB771BD}.Release|x64.Build.0 = Release|Any CPU
{74E95D29-DD3E-45C3-8F78-FED47DB771BD}.Release|x86.ActiveCfg = Release|Any CPU
{74E95D29-DD3E-45C3-8F78-FED47DB771BD}.Release|x86.Build.0 = Release|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Debug|x64.ActiveCfg = Debug|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Debug|x64.Build.0 = Debug|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Debug|x86.ActiveCfg = Debug|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Debug|x86.Build.0 = Debug|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Release|Any CPU.Build.0 = Release|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Release|x64.ActiveCfg = Release|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Release|x64.Build.0 = Release|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Release|x86.ActiveCfg = Release|Any CPU
{3CBAFA25-BCD4-47F5-BD33-E9057F756009}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{8CD07BC8-7035-438A-BE83-C686B8F0BE97} = {5BEB3508-EC9B-4CFE-BBF0-0610FB17013A}
{AAEE2E59-1D18-4E72-BB97-954FF32772BC} = {803AC8A6-160E-414F-AE4A-C6E83BF49BAF}
{3CBAFA25-BCD4-47F5-BD33-E9057F756009} = {AAEE2E59-1D18-4E72-BB97-954FF32772BC}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5D5E7EBF-7D4B-473F-8655-414F38F715FE}
Expand Down
14 changes: 14 additions & 0 deletions sample/console/Rth.Sample/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;

namespace Rth.Sample
{
class Program
{
static void Main()
{
Console.WriteLine("Hello World!");


}
}
}
12 changes: 12 additions & 0 deletions sample/console/Rth.Sample/Rth.Sample.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Spectre.Console" Version="0.36.0" />
</ItemGroup>

</Project>

0 comments on commit 5b09b76

Please sign in to comment.