Skip to content

Commit 20c8678

Browse files
authored
Merge pull request #122 from RainDance74/feature-dotnet-8
feat(Solution): Add NET8 support (In an addition to existing NET9)
2 parents f6929ac + 3abbc38 commit 20c8678

File tree

57 files changed

+72
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+72
-72
lines changed

.github/workflows/dotnet-build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ env:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
dotnet-version: ['9.0.x' ]
1512

1613
steps:
1714
- name: Checkout
@@ -25,10 +22,12 @@ jobs:
2522
git fetch
2623
git pull
2724
28-
- name: Setup .NET ${{ matrix.dotnet-version }}
25+
- name: Setup target .NET frameworks
2926
uses: actions/setup-dotnet@v2
3027
with:
31-
dotnet-version: ${{ matrix.dotnet-version }}
28+
dotnet-version: |
29+
8.0.x
30+
9.0.x
3231
3332
- name: Restore dependencies
3433
run: dotnet restore "${{ env.SOLUTION }}"

.github/workflows/dotnet-publish-only.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ env:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
dotnet-version: ['9.0.x' ]
1512

1613
steps:
1714
- name: Checkout
@@ -24,10 +21,12 @@ jobs:
2421
run: |
2522
git fetch
2623
git pull
27-
- name: Setup .NET ${{ matrix.dotnet-version }}
24+
- name: Setup target .NET frameworks
2825
uses: actions/setup-dotnet@v2
2926
with:
30-
dotnet-version: ${{ matrix.dotnet-version }}
27+
dotnet-version: |
28+
8.0.x
29+
9.0.x
3130
3231
- name: Restore dependencies
3332
run: dotnet restore "${{ env.SOLUTION }}"

.github/workflows/dotnet-test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,17 @@ env:
1515
jobs:
1616
build:
1717
runs-on: ubuntu-latest
18-
strategy:
19-
matrix:
20-
dotnet-version: ['9.0.x' ]
2118

2219
steps:
2320
- name: Checkout
2421
uses: actions/checkout@v3
2522

26-
- name: Setup .NET ${{ matrix.dotnet-version }}
23+
- name: Setup target .NET frameworks
2724
uses: actions/setup-dotnet@v2
2825
with:
29-
dotnet-version: ${{ matrix.dotnet-version }}
26+
dotnet-version: |
27+
8.0.x
28+
9.0.x
3029
3130
- name: Restore dependencies
3231
run: dotnet restore "${{ env.SOLUTION }}"

samples/CamelCaseTextTransformPlugin/CamelCaseTextTransformPlugin.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

samples/KebabCaseTextTransformPlugin/KebabCaseTextTransformPlugin.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

samples/PluginBasedConsoleApp/PluginBasedConsoleApp.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>net9.0</TargetFramework>
5+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

samples/Shared/Shared.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

samples/SnakeCaseTextTransformPlugin/SnakeCaseTextTransformPlugin.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

src/Neuroglia..Eventing.CloudEvents/Neuroglia.Eventing.CloudEvents.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<GenerateDocumentationFile>True</GenerateDocumentationFile>

src/Neuroglia.Blazor.Dagre/Neuroglia.Blazor.Dagre.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Nullable>enable</Nullable>
44
<ImplicitUsings>enable</ImplicitUsings>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
66
<OutputType>Library</OutputType>
77
<Company>Neuroglia SPRL</Company>
88
<Copyright>Copyright © 2024 Neuroglia SPRL. All rights reserved.</Copyright>
@@ -43,7 +43,10 @@
4343
<SupportedPlatform Include="browser" />
4444
</ItemGroup>
4545

46-
<ItemGroup>
46+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
47+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.12" />
48+
</ItemGroup>
49+
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
4750
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.0.0" />
4851
</ItemGroup>
4952

0 commit comments

Comments
 (0)