Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3056268

Browse files
committed
Use .NET 7 and C# 11.
1 parent 381a5ff commit 3056268

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
uses: actions/checkout@v3
3131
with:
3232
fetch-depth: 0
33-
- name: Set up .NET 6
33+
- name: Set up .NET 7
3434
uses: actions/setup-dotnet@v3
3535
with:
36-
dotnet-version: 6.0.x
36+
dotnet-version: 7.0.x
3737
- name: Restore
3838
run: .\build.ps1 restore
3939
- name: Build

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<VersionPrefix>0.0.0</VersionPrefix>
5-
<LangVersion>10.0</LangVersion>
5+
<LangVersion>11.0</LangVersion>
66
<Nullable>enable</Nullable>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

tools/Build/Build.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Faithlife.Build" Version="5.14.7" />
9+
<PackageReference Include="Faithlife.Build" Version="5.16.1" />
1010
</ItemGroup>
1111

1212
</Project>

tools/XmlDocGen/XmlDocGen.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

0 commit comments

Comments
 (0)