Skip to content

Commit 08da761

Browse files
Update to .NET 10
Update to .NET 10 with .NET SDK version 10.0.100-preview.1.25120.13. Co-Authored-By: costellobot <[email protected]>
1 parent beae6cc commit 08da761

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "coreclr",
77
"request": "launch",
88
"preLaunchTask": "build",
9-
"program": "${workspaceFolder}/src/TodoApp/bin/Debug/net9.0/TodoApp.dll",
9+
"program": "${workspaceFolder}/src/TodoApp/bin/Debug/net10.0/TodoApp.dll",
1010
"args": [],
1111
"cwd": "${workspaceFolder}/src/TodoApp",
1212
"stopAtEntry": false,

.vsconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"components": [
44
"Microsoft.VisualStudio.Component.CoreEditor",
55
"Microsoft.VisualStudio.Workload.CoreEditor",
6-
"Microsoft.NetCore.Component.Runtime.9.0",
6+
"Microsoft.NetCore.Component.Runtime.10.0",
77
"Microsoft.NetCore.Component.SDK",
88
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
99
"Microsoft.VisualStudio.Component.Roslyn.LanguageServices",

NuGet.config

+4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
<configuration>
33
<packageSources>
44
<clear />
5+
<add key="aspnet-contrib" value="https://www.myget.org/F/aspnet-contrib/api/v3/index.json" />
56
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
67
</packageSources>
78
<packageSourceMapping>
9+
<packageSource key="aspnet-contrib">
10+
<package pattern="AspNet.Security.OAuth.GitHub" />
11+
</packageSource>
812
<packageSource key="NuGet">
913
<package pattern="*" />
1014
</packageSource>

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.202",
3+
"version": "10.0.100-preview.1.25120.13",
44
"allowPrerelease": false,
55
"rollForward": "latestMajor"
66
}

src/TodoApp/TodoApp.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
<IsPackable>false</IsPackable>
55
<NoWarn>$(NoWarn);CA1050</NoWarn>
66
<RootNamespace>TodoApp</RootNamespace>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
99
<TypeScriptToolsVersion>latest</TypeScriptToolsVersion>
1010
<UserSecretsId>TodoApp</UserSecretsId>
1111
</PropertyGroup>
1212
<ItemGroup>
13-
<PackageReference Include="AspNet.Security.OAuth.GitHub" Version="9.1.0" />
14-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.3" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.3" />
13+
<PackageReference Include="AspNet.Security.OAuth.GitHub" Version="10.0.0-preview.1.25127.64" />
14+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0-preview.1.25120.3" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.0-preview.1.25081.1" />
1616
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="5.8.1" PrivateAssets="all" />
1717
</ItemGroup>
1818
<ItemGroup>

startvscode.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SET DOTNET_ROOT(x86)=%~dp0.dotnetcli\x86
1111
SET PATH=%DOTNET_ROOT%;%PATH%
1212

1313
:: Sets the Target Framework for Visual Studio Code.
14-
SET TARGET=net9.0
14+
SET TARGET=net10.0
1515

1616
SET FOLDER=%~1
1717

tests/TodoApp.Tests/TodoApp.Tests.csproj

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,19 @@
44
<NoWarn>$(NoWarn);CA1861</NoWarn>
55
<OutputType>Exe</OutputType>
66
<RootNamespace>TodoApp</RootNamespace>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
</PropertyGroup>
99
<ItemGroup>
1010
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1111
<PackageReference Include="coverlet.msbuild" Version="6.0.4" PrivateAssets="All" />
1212
<PackageReference Include="GitHubActionsTestLogger" Version="2.4.1" />
1313
<PackageReference Include="JustEat.HttpClientInterception" Version="5.1.1" />
1414
<PackageReference Include="MartinCostello.Logging.XUnit.v3" Version="0.5.1" />
15-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.3" />
15+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.0-preview.1.25120.3" />
1616
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
1717
<PackageReference Include="Microsoft.Playwright" Version="1.50.0" />
1818
<PackageReference Include="ReportGenerator" Version="5.4.4" />
1919
<PackageReference Include="Shouldly" Version="4.3.0" />
20-
<PackageReference Include="System.Text.Encodings.Web" Version="9.0.1" />
2120
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2" />
2221
<PackageReference Include="xunit.v3" Version="2.0.0" />
2322
</ItemGroup>

0 commit comments

Comments
 (0)