Skip to content

Commit

Permalink
Merge pull request #2 from jasontaylordev/net8.0
Browse files Browse the repository at this point in the history
📦 Upgrade to .NET 8
  • Loading branch information
jasontaylordev authored Nov 16, 2023
2 parents c236e87 + 5457017 commit 2f052f2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ A project template for creating a command-line application that can run on .NET

![image](https://user-images.githubusercontent.com/1988321/197191492-a98bd1f3-09e6-4eea-bcca-5596be88676d.png)

Install the project template (requires .NET 7):
If you find this project useful, please give it a star. Thanks! ⭐

## Getting Started

Install the project template (requires .NET 8):

```bash
dotnet new install JasonTaylorDev.RapidConsole
Expand All @@ -19,6 +23,16 @@ Create a new app:
dotnet new rapid-console --output RapidConsole
```

Check out [Console App Project Template for .NET 7](https://jasontaylor.dev/console-app-project-template/) to learn more.
## Versions

If you find this project useful, please give it a star. Thanks! ⭐
The main branch is now on .NET 8.0. The following previous versions are available:

* [7.0](https://github.com/jasontaylordev/RapidConsole/tree/net7.0)

## Learn More

Check out [Console App Project Template for .NET](https://jasontaylor.dev/console-app-project-template/) to learn more.

## Support

If you are having problems, please let me know by [raising a new issue](https://github.com/jasontaylordev/RapidConsole/issues/new).
2 changes: 1 addition & 1 deletion RapidConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Spectre.Console.Cli;

AnsiConsole.Write(new FigletText("RapidConsole"));
AnsiConsole.WriteLine("RapidConsole Command-line Tools 1.0.0");
AnsiConsole.WriteLine("RapidConsole Command-line Tools 1.1.0");
AnsiConsole.WriteLine();

var builder = Host.CreateDefaultBuilder(args);
Expand Down
4 changes: 2 additions & 2 deletions RapidConsole/RapidConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Spectre.Console" Version="0.45.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.45.0" />
</ItemGroup>
Expand Down
6 changes: 4 additions & 2 deletions templatepack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

<PropertyGroup>
<PackageType>Template</PackageType>
<PackageVersion>1.0</PackageVersion>
<PackageVersion>1.1</PackageVersion>
<PackageId>JasonTaylorDev.RapidConsole</PackageId>
<Title>Rapid Console App</Title>
<Authors>JasonTaylorDev</Authors>
<Description>A project for creating a command-line application that can run on .NET on Windows, Linux and macOS with support for commands, dependency injection, logging, and a whole lot more.</Description>
<PackageTags>dotnet-new;templates;console</PackageTags>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RepositoryUrl>https://github.com/jasontaylordev/RapidConsole</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>

<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
Expand All @@ -19,6 +20,7 @@

<ItemGroup>
<Content Include="RapidConsole\**\*" Exclude="RapidConsole\**\bin\**;RapidConsole\**\obj\**" />
<None Include="README.md" Pack="true" PackagePath="\"/>
<Compile Remove="**\*" />
</ItemGroup>

Expand Down

0 comments on commit 2f052f2

Please sign in to comment.