Skip to content

Commit d774c7b

Browse files
Upgrade to .NET 10 and refresh NuGet packages (#338)
- TargetFramework: net8.0 -> net10.0 across all SDK-style projects (App, Core, Cli, Web, PlanShare, Tests). SSMS extension and its installer stay on net472 (VS extension constraint). - ModelContextProtocol/ModelContextProtocol.AspNetCore: 1.2.0 -> 1.3.0 - Microsoft.NET.Test.Sdk: 18.4.0 -> 18.5.1 - Microsoft.AspNetCore.Components.WebAssembly + DevServer: 8.0.12 -> 10.0.0 - CI workflows (ci, nightly, release, deploy-web): dotnet-version 8.0.x -> 10.0.x - Doc/comment refs to .NET 8 updated to .NET 10
1 parent c7e4e64 commit d774c7b

15 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v5
2828

29-
- name: Setup .NET 8.0
29+
- name: Setup .NET 10.0
3030
uses: actions/setup-dotnet@v5
3131
with:
32-
dotnet-version: 8.0.x
32+
dotnet-version: 10.0.x
3333
cache: true
3434
cache-dependency-path: '**/*.csproj'
3535

.github/workflows/deploy-web.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v5
3131

32-
- name: Setup .NET 8.0
32+
- name: Setup .NET 10.0
3333
uses: actions/setup-dotnet@v5
3434
with:
35-
dotnet-version: 8.0.x
35+
dotnet-version: 10.0.x
3636

3737
- name: Install WASM workload
3838
run: dotnet workload install wasm-tools

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
with:
4343
ref: dev
4444

45-
- name: Setup .NET 8.0
45+
- name: Setup .NET 10.0
4646
uses: actions/setup-dotnet@v5
4747
with:
48-
dotnet-version: 8.0.x
48+
dotnet-version: 10.0.x
4949

5050
- name: Set nightly version
5151
id: version

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545
run: |
4646
gh release create "v${{ steps.version.outputs.VERSION }}" --title "v${{ steps.version.outputs.VERSION }}" --generate-notes --target main
4747
48-
- name: Setup .NET 8.0
48+
- name: Setup .NET 10.0
4949
uses: actions/setup-dotnet@v5
5050
with:
51-
dotnet-version: 8.0.x
51+
dotnet-version: 10.0.x
5252

5353
- name: Build and test
5454
run: |

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Thank you for your interest in contributing to Performance Studio! This guide wi
1212

1313
### Prerequisites
1414

15-
- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0)
15+
- [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0)
1616
- Git
1717

1818
### Build and Test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Each warning includes severity (Info, Warning, or Critical), the operator node I
9090

9191
## Prerequisites
9292

93-
- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) (required to build and run)
93+
- [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) (required to build and run)
9494
- SQL Server instance (optional — only needed for live plan capture; file analysis works without one)
9595
- Docker (optional — macOS/Linux users can run SQL Server locally via Docker)
9696

server/PlanShare/PlanShare.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>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>

src/PlanViewer.App/PlanViewer.App.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ApplicationManifest>app.manifest</ApplicationManifest>
77
<ApplicationIcon>EDD.ico</ApplicationIcon>
@@ -24,8 +24,8 @@
2424
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.4.1" />
2525
<PackageReference Include="AvaloniaEdit.TextMate.Grammars" Version="0.10.12" />
2626
<PackageReference Include="Meziantou.Framework.Win32.CredentialManager" Version="1.7.18" />
27-
<PackageReference Include="ModelContextProtocol" Version="1.2.0" />
28-
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="1.2.0" />
27+
<PackageReference Include="ModelContextProtocol" Version="1.3.0" />
28+
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="1.3.0" />
2929
<PackageReference Include="TextMateSharp.Grammars" Version="2.0.3" />
3030
<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="180.6.0" />
3131
<PackageReference Include="Velopack" Version="0.0.1298" />

src/PlanViewer.Cli/Commands/CredentialCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private static Command CreateListCommand(ICredentialService credentialService)
9191
{
9292
IReadOnlyList<(string ServerName, string Username)>? creds = null;
9393
// CA1416: WindowsCredentialService is gated on OperatingSystem.IsWindows().
94-
// .NET 8 won't run below Windows 10, so the underlying "windows5.1.2600" requirement is always met.
94+
// .NET 10 won't run below Windows 10, so the underlying "windows5.1.2600" requirement is always met.
9595
#pragma warning disable CA1416
9696
if (OperatingSystem.IsWindows() && credentialService is WindowsCredentialService win)
9797
creds = win.ListAll();

src/PlanViewer.Cli/PlanViewer.Cli.csproj

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

77
<PropertyGroup>
88
<OutputType>Exe</OutputType>
9-
<TargetFramework>net8.0</TargetFramework>
9+
<TargetFramework>net10.0</TargetFramework>
1010
<ImplicitUsings>enable</ImplicitUsings>
1111
<Nullable>enable</Nullable>
1212
<RootNamespace>PlanViewer.Cli</RootNamespace>

0 commit comments

Comments
 (0)