Skip to content

Commit a6592c7

Browse files
authored
Supporting .net8 target (#106)
1 parent 0ab2b49 commit a6592c7

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/workflows/pr-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838

3939
- name: Run tests Linux
4040
if: matrix.os == 'ubuntu-latest'
41-
run: dotnet test /p:TargetFramework=net6.0
41+
run: dotnet test /p:TargetFramework=net8.0

Directory.Build.props

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@
2727
<!-- This is the default target framework for all the projects.
2828
Individual projects may specify additional target frameworks -->
2929
<NetfxVersion>net462</NetfxVersion>
30-
<NetStandardVersion>netstandard2.1</NetStandardVersion>
31-
<NetStandardVersion20>netstandard2.0</NetStandardVersion20>
32-
<NetCoreVersion>net6.0</NetCoreVersion>
30+
<NetCoreVersion>net8.0</NetCoreVersion>
3331

34-
<TargetFrameworks>$(NetStandardVersion);$(NetfxVersion);$(NetCoreVersion);$(NetStandardVersion20)</TargetFrameworks>
32+
<TargetFrameworks>$(NetfxVersion);$(NetCoreVersion)</TargetFrameworks>
3533
<PreviewRelease Condition="'$(PreviewRelease)' == ''">false</PreviewRelease>
3634
<VersionProductName>Microsoft SQL Script DOM</VersionProductName>
3735

Test/Directory.Build.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
<TargetFrameworks>$(NetfxVersion);$(NetCoreVersion)</TargetFrameworks>
3232

3333
<!-- The TargetGroup can be used to express condition that are common to more than one TargetFramework (currently not used)-->
34-
<TargetGroup Condition="'$(TargetFramework)'=='netstandard2.0' Or '$(TargetFramework)'=='netstandard2.1' Or '$(TargetFramework)'=='netstandard2.2'">netstandard</TargetGroup>
35-
<TargetGroup Condition="'$(TargetFramework)'=='netcoreapp3.1' Or '$(TargetFramework)'=='net5.0' Or '$(TargetFramework)'=='net6.0'">netcore</TargetGroup>
34+
<TargetGroup Condition="'$(TargetFramework)'=='net8.0'">netcore</TargetGroup>
3635
<TargetGroup Condition="'$(TargetGroup)'==''">netfx</TargetGroup>
3736

3837
<!-- Enable optimized NuGet restore -->

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "6.0.427",
3+
"version": "8.0.404",
44
"rollForward": "latestMajor"
55
},
66
"msbuild-sdks": {

0 commit comments

Comments
 (0)