From cf43b432e0c265a33833ef685de082aabe35d848 Mon Sep 17 00:00:00 2001 From: John Smith <john@solrevdev.com> Date: Tue, 21 Nov 2023 12:05:48 +0000 Subject: [PATCH] feat: support .net 8 --- .github/workflows/ci.yml | 4 ++-- .vscode/launch.json | 2 +- src/solrevdev.seedfolder.csproj | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b56d611..eb2e357 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,12 +34,12 @@ jobs: steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup .net core sdk uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' # SDK Version to use; x will use the latest version of the 3.1 channel + dotnet-version: '8.0.x' # SDK Version to use; x will use the latest version of the 3.1 channel - name: dotnet build run: dotnet build solrevdev.seedfolder.sln --configuration Release diff --git a/.vscode/launch.json b/.vscode/launch.json index b496fee..a18bd59 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/src/bin/Debug/net7.0/solrevdev.seedfolder.dll", + "program": "${workspaceFolder}/src/bin/Debug/net8.0/solrevdev.seedfolder.dll", "args": [], "cwd": "${workspaceFolder}", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console diff --git a/src/solrevdev.seedfolder.csproj b/src/solrevdev.seedfolder.csproj index d2868fc..71dd073 100644 --- a/src/solrevdev.seedfolder.csproj +++ b/src/solrevdev.seedfolder.csproj @@ -2,14 +2,14 @@ <PropertyGroup> <OutputType>Exe</OutputType> - <TargetFrameworks>net6.0;net7.0</TargetFrameworks> + <TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks> <LangVersion>latest</LangVersion> <ImplicitUsings>enable</ImplicitUsings> <PackAsTool>true</PackAsTool> <ToolCommandName>seedfolder</ToolCommandName> <PackageOutputPath>./nupkg</PackageOutputPath> <NoDefaultExcludes>true</NoDefaultExcludes> - <Version>1.2.5</Version> + <Version>1.2.6</Version> <Title>solrevdev.seedfolder</Title> <Description>.NET Core Global Tool that creates a folder and copies dotfiles into it therefore seeding a folder.</Description> <PackageDescription>.NET Core Global Tool that creates a folder and copies dotfiles into it therefore seeding a folder.</PackageDescription>