Skip to content

Commit

Permalink
feat: support .net 8
Browse files Browse the repository at this point in the history
  • Loading branch information
solrevdev committed Nov 21, 2023
1 parent b17d9fb commit cf43b43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/solrevdev.seedfolder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit cf43b43

Please sign in to comment.