Skip to content

Commit 7f33883

Browse files
Update to .NET 10
1 parent ab942b7 commit 7f33883

File tree

5 files changed

+9
-18
lines changed

5 files changed

+9
-18
lines changed

.github/actions/setup-env/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ runs:
77
- name: Setup .NET
88
uses: actions/setup-dotnet@v4
99
with:
10-
dotnet-version: '9.0.x'
11-
10+
dotnet-version: '10.0.x'
11+
1212
- name: Print .NET version and SDKs
1313
shell: bash
1414
run: |

.vscode/extensions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"recommendations": [
33
"ms-dotnettools.csharp",
4-
"ms-dotnettools.vscodeintellicode-csharp",
54
"ms-dotnettools.vscode-dotnet-runtime",
65
"github.vscode-github-actions"
76
]

BlazorWasmOsmOauth.AppHost/BlazorWasmOsmOauth.AppHost.csproj

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0" />
4-
1+
<Project Sdk="Aspire.AppHost.Sdk/13.0.0">
52
<PropertyGroup>
63
<OutputType>Exe</OutputType>
7-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
85
<Nullable>enable</Nullable>
96
<ImplicitUsings>enable</ImplicitUsings>
107
<LangVersion>latest</LangVersion>
@@ -14,10 +11,6 @@
1411
<IsAspireHost>true</IsAspireHost>
1512
</PropertyGroup>
1613

17-
<ItemGroup>
18-
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.5.2" />
19-
</ItemGroup>
20-
2114
<ItemGroup>
2215
<ProjectReference Include="../BlazorWasmOsmOauth/BlazorWasmOsmOauth.csproj" />
2316
</ItemGroup>

BlazorWasmOsmOauth/BlazorWasmOsmOauth.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
<PropertyGroup>
44
<!-- Build info -->
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<LangVersion>latest</LangVersion>
77
<Nullable>enable</Nullable>
88
<ImplicitUsings>enable</ImplicitUsings>
99
<AnalysisMode>Recommended</AnalysisMode>
1010
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
1111
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1212
<PublishTrimmed>false</PublishTrimmed>
13-
1413

1514
<!-- Assembly info -->
1615
<VersionPrefix>0.0.1</VersionPrefix>
@@ -33,12 +32,12 @@
3332
</Target>
3433

3534
<ItemGroup Condition="$(Configuration) == 'Debug'">
36-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.10" PrivateAssets="all" />
35+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.0" PrivateAssets="all" />
3736
</ItemGroup>
3837

3938
<ItemGroup>
40-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.10" />
41-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="9.0.10" />
39+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.0" />
40+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="10.0.0" />
4241
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.13.1" />
4342
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.13.1" />
4443
</ItemGroup>

build-cloudflare.sh

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

33
curl -sSL https://dot.net/v1/dotnet-install.sh > dotnet-install.sh
44
chmod +x dotnet-install.sh
5-
./dotnet-install.sh --channel STS --install-dir ./dotnet
5+
./dotnet-install.sh --channel 10.0 --install-dir ./dotnet
66
./dotnet/dotnet --version
77
./dotnet/dotnet workload install wasm-tools
88

0 commit comments

Comments
 (0)