Skip to content

Commit cb58aa2

Browse files
committed
Upgrade to .net 8.0
1 parent 12b1aca commit cb58aa2

File tree

14 files changed

+431
-12
lines changed

14 files changed

+431
-12
lines changed

.editorconfig

Lines changed: 366 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Setup .NET
20-
uses: actions/setup-dotnet@v3
20+
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: 6.0.x
22+
dotnet-version: 8.0.x
2323
- name: Restore dependencies
2424
run: dotnet restore
2525
- name: Build

.idea/.idea.CommandLineToolsDemo/.idea/.gitignore

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.CommandLineToolsDemo/.idea/encodings.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.CommandLineToolsDemo/.idea/indexLayout.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.CommandLineToolsDemo/.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CommandLineToolsDemo.sln

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1919
ProjectSection(SolutionItems) = preProject
2020
.github\workflows\ci.yml = .github\workflows\ci.yml
2121
README.md = README.md
22+
global.json = global.json
23+
.editorconfig = .editorconfig
24+
Directory.Build.props = Directory.Build.props
2225
EndProjectSection
2326
EndProject
2427
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Cocona", "Cocona", "{0DB2B961-9E40-4834-B373-EE8303AA3BFA}"

Directory.Build.props

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Deterministic>true</Deterministic>
4+
<RunCodeAnalysis>true</RunCodeAnalysis>
5+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6+
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
7+
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
8+
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
9+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
10+
<NoWarn>$(NoWarn);CS1591;</NoWarn>
11+
</PropertyGroup>
12+
</Project>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Using various command line tools frameworks
1919
> - [App.exe] --help
2020
>
2121
22-
**`Tools`** : vs22, net 6.0
22+
**`Tools`** : net 8.0

global.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"sdk": {
3+
"rollForward": "latestMajor",
4+
"version": "8.0.0",
5+
"allowPrerelease": false
6+
}
7+
}

0 commit comments

Comments
 (0)