Skip to content

Commit 743b7af

Browse files
committed
Upgrade to .NET 6
Signed-off-by: Patrick Dwyer <[email protected]>
1 parent 3752a62 commit 743b7af

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
timeout-minutes: 30
1616
steps:
1717
- uses: actions/[email protected]
18+
- uses: actions/[email protected]
19+
with:
20+
dotnet-version: '6.0'
1821

1922
- name: Build
2023
run: dotnet build /WarnAsError

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
timeout-minutes: 30
3030
steps:
3131
- uses: actions/[email protected]
32+
- uses: actions/[email protected]
33+
with:
34+
dotnet-version: '6.0'
3235

3336
# Build and package everything
3437
- name: Package release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ Permission to modify and redistribute is granted under the terms of the Apache 2
4545
Pull requests are welcome. But please read the
4646
[CycloneDX contributing guidelines](https://github.com/CycloneDX/.github/blob/master/CONTRIBUTING.md) first.
4747

48-
To build and test the solution locally you should have .NET 5
48+
To build and test the solution locally you should have .NET 6
4949
installed. Standard commands like `dotnet build` and `dotnet test` work.

src/CycloneDX.WebTool/CycloneDX.WebTool.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
66
<PublishTrimmed>false</PublishTrimmed>
77
</PropertyGroup>
88

99
<ItemGroup>
1010
<PackageReference Include="CycloneDX.Utils" Version="4.0.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.11" />
12-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="5.0.11" PrivateAssets="all" />
13-
<PackageReference Include="System.Net.Http.Json" Version="5.0.0" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.1" />
12+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.1" PrivateAssets="all" />
1413
</ItemGroup>
1514

1615
<ItemGroup>

0 commit comments

Comments
 (0)