Skip to content

Commit d8cdaae

Browse files
Update repository to .NET 10
Co-authored-by: jamesmontemagno <1676321+jamesmontemagno@users.noreply.github.com>
1 parent c5a08a2 commit d8cdaae

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": ".NET in Codespaces",
3-
"image": "mcr.microsoft.com/dotnet/sdk:9.0",
3+
"image": "mcr.microsoft.com/dotnet/sdk:10.0",
44
"features": {
55
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
66
"ghcr.io/devcontainers/features/github-cli:1": {
@@ -40,7 +40,7 @@
4040
},
4141
"remoteEnv": {
4242
"DOTNET_MULTILEVEL_LOOKUP": "0",
43-
"TARGET": "net9.0"
43+
"TARGET": "net10.0"
4444
},
4545
"portsAttributes": {
4646
"8080": {

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup .NET
2828
uses: actions/setup-dotnet@v4
2929
with:
30-
dotnet-version: '9.0.x'
30+
dotnet-version: '10.0.x'
3131

3232
- name: Restore dependencies
3333
run: dotnet restore ${{ matrix.project }}

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"type": "coreclr",
2020
"request": "launch",
2121
"preLaunchTask": "build backend",
22-
"program": "${workspaceFolder}/SampleApp/BackEnd/bin/Debug/net9.0/BackEnd.dll",
22+
"program": "${workspaceFolder}/SampleApp/BackEnd/bin/Debug/net10.0/BackEnd.dll",
2323
"args": [],
2424
"cwd": "${workspaceFolder}/SampleApp/BackEnd",
2525
"stopAtEntry": false,
@@ -40,7 +40,7 @@
4040
"type": "coreclr",
4141
"request": "launch",
4242
"preLaunchTask": "build frontend",
43-
"program": "${workspaceFolder}/SampleApp/FrontEnd/bin/Debug/net9.0/FrontEnd.dll",
43+
"program": "${workspaceFolder}/SampleApp/FrontEnd/bin/Debug/net10.0/FrontEnd.dll",
4444
"args": [],
4545
"cwd": "${workspaceFolder}/SampleApp/FrontEnd",
4646
"stopAtEntry": false,

SampleApp/BackEnd/BackEnd.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<InvariantGlobalization>true</InvariantGlobalization>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.*" />
11+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.*" />
1212
<PackageReference Include="Scalar.AspNetCore" Version="2.0.*" />
1313
</ItemGroup>
1414

SampleApp/FrontEnd/FrontEnd.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.Web">
22

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

0 commit comments

Comments
 (0)