Skip to content

Added .NET 10 support. - #1244

Open
scorpion3399 wants to merge 3 commits into
dotnet:mainfrom
scorpion3399:feature/net10-support
Open

Added .NET 10 support.#1244
scorpion3399 wants to merge 3 commits into
dotnet:mainfrom
scorpion3399:feature/net10-support

Conversation

@scorpion3399

@scorpion3399 scorpion3399 commented Jul 10, 2026

Copy link
Copy Markdown

Fixes #1225

  • netstandard library projects: unchanged
  • unit test projects: Added net10.0 target framework.
  • e2e test projects: Changed target framework from net8.0 to net10.0.
  • Spark and Spark.Worker projects: Added net10.0 to both target framework definitions and bumped packages to latest versions.

- netstandard library projects: unchanged
- unit test projects: Added net10.0 target framework.
- e2e test projects: Changed target framework from net8.0 to net10.0.
- Spark and Spark.Worker projects: Added net10.0 to both target framework definitions and bumped packages to latests versions.
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@scorpion3399
scorpion3399 marked this pull request as ready for review July 10, 2026 12:13
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@scorpion3399

Copy link
Copy Markdown
Author

@dotnet-policy-service agree

@SparkSnail

Copy link
Copy Markdown
Contributor

/AzurePipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@SparkSnail

Copy link
Copy Markdown
Contributor

@scorpion3399 Could you please take a look at and fix the pipeline failure?

2026-07-31T03:13:17.6584448Z ##[section]Starting: .NET build
2026-07-31T03:13:17.6591362Z ==============================================================================
2026-07-31T03:13:17.6591657Z Task         : Command line
2026-07-31T03:13:17.6591821Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2026-07-31T03:13:17.6592076Z Version      : 2.276.0
2026-07-31T03:13:17.6592286Z Author       : Microsoft Corporation
2026-07-31T03:13:17.6592457Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2026-07-31T03:13:17.6592694Z ==============================================================================
2026-07-31T03:13:21.1504440Z Generating script.
2026-07-31T03:13:21.1588858Z Script contents: shell
2026-07-31T03:13:21.1598471Z build.cmd -pack -c Release -ci /p:PublishSparkWorker=true /p:SparkWorkerPublishDir=D:\a\_work\1\a\Microsoft.Spark.Worker
2026-07-31T03:13:21.1957823Z ========================== Starting Command Output ===========================
2026-07-31T03:13:21.2406668Z ##[command]"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_work\_temp\3f91f1e7-e24b-426c-80e4-a8e1ec645b4f.cmd""
2026-07-31T03:13:22.2455881Z GET https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1
2026-07-31T03:13:22.5821887Z   Attempting to install 'sdk v10.0.301' from public location.
2026-07-31T03:13:26.7530562Z dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.301/dotnet-sdk-10.0.301-win-x64.zip size is 297403780 bytes.
2026-07-31T03:13:26.7617262Z dotnet-install: Downloaded file https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.301/dotnet-sdk-10.0.301-win-x64.zip size is 297403780 bytes.
2026-07-31T03:13:26.7656007Z dotnet-install: The remote and local file sizes are equal.
2026-07-31T03:13:26.7684444Z dotnet-install: Extracting the archive.
2026-07-31T03:13:46.6100052Z dotnet-install: Adding to current process PATH: "D:\a\_work\1\s\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
2026-07-31T03:13:46.6110337Z dotnet-install: Note that the script does not ensure your Windows version is supported during the installation.
2026-07-31T03:13:46.6119076Z dotnet-install: To check the list of supported versions, go to https://learn.microsoft.com/dotnet/core/install/windows#supported-versions
2026-07-31T03:13:46.6129160Z dotnet-install: Installed version is 10.0.301
2026-07-31T03:13:46.6138781Z dotnet-install: Installation finished
2026-07-31T03:13:46.9145302Z Setting NUGET enhanced retry environment variables
2026-07-31T03:13:55.7575020Z Setting NUGET enhanced retry environment variables
2026-07-31T03:13:55.7696077Z Setting NUGET enhanced retry environment variables
2026-07-31T03:13:56.2242322Z   Determining projects to restore...
2026-07-31T03:13:59.5851968Z   Restored D:\a\_work\1\s\.packages\microsoft.dotnet.arcade.sdk\8.0.0-beta.24359.3\tools\Tools.proj (in 3.23 sec).
2026-07-31T03:14:01.7738421Z   Determining projects to restore...
2026-07-31T03:14:15.2205222Z   Restored D:\a\_work\1\s\src\csharp\Microsoft.Spark\Microsoft.Spark.csproj (in 3.92 sec).
2026-07-31T03:14:15.3101258Z   Restored D:\a\_work\1\s\src\csharp\Extensions\Microsoft.Spark.Extensions.Hyperspace.E2ETest\Microsoft.Spark.Extensions.Hyperspace.E2ETest.csproj (in 3.95 sec).
2026-07-31T03:14:18.4045544Z   Restored D:\a\_work\1\s\src\csharp\Microsoft.Spark.Worker.UnitTest\Microsoft.Spark.Worker.UnitTest.csproj (in 2.91 sec).
2026-07-31T03:14:18.4280163Z   Restored D:\a\_work\1\s\src\csharp\Microsoft.Spark.UnitTest\Microsoft.Spark.UnitTest.csproj (in 42 ms).
2026-07-31T03:14:18.4403703Z   Restored D:\a\_work\1\s\src\csharp\Microsoft.Spark.E2ETest\Microsoft.Spark.E2ETest.csproj (in 7 ms).
2026-07-31T03:14:18.4411945Z   Restored D:\a\_work\1\s\src\csharp\Microsoft.Spark.E2ETest.ExternalLibrary\Microsoft.Spark.E2ETest.ExternalLibrary.csproj (in 2 ms).
2026-07-31T03:14:18.4426676Z   Restored D:\a\_work\1\s\src\csharp\Microsoft.Spark.Worker\Microsoft.Spark.Worker.csproj (in 3.13 sec).
2026-07-31T03:14:18.4450696Z   Restored D:\a\_work\1\s\src\csharp\Extensions\Microsoft.Spark.Extensions.Hyperspace\Microsoft.Spark.Extensions.Hyperspace.csproj (in 149 ms).
2026-07-31T03:14:23.4193792Z   Restored D:\a\_work\1\s\src\csharp\Extensions\Microsoft.Spark.Extensions.DotNet.Interactive\Microsoft.Spark.Extensions.DotNet.Interactive.csproj (in 5.04 sec).
2026-07-31T03:14:23.4197166Z   Restored D:\a\_work\1\s\src\csharp\Extensions\Microsoft.Spark.Extensions.DotNet.Interactive.UnitTest\Microsoft.Spark.Extensions.DotNet.Interactive.UnitTest.csproj (in 4.99 sec).
2026-07-31T03:14:23.4383204Z   Restored D:\a\_work\1\s\src\csharp\Extensions\Microsoft.Spark.Extensions.Delta\Microsoft.Spark.Extensions.Delta.csproj (in 7 ms).
2026-07-31T03:14:23.4388414Z   Restored D:\a\_work\1\s\src\csharp\Extensions\Microsoft.Spark.Extensions.Delta.E2ETest\Microsoft.Spark.Extensions.Delta.E2ETest.csproj (in 7 ms).
2026-07-31T03:14:23.5633791Z   Restored D:\a\_work\1\s\examples\Microsoft.Spark.FSharp.Examples\Microsoft.Spark.FSharp.Examples.fsproj (in 144 ms).
2026-07-31T03:14:23.6034660Z   Restored D:\a\_work\1\s\benchmark\csharp\Tpch\Tpch.csproj (in 27 ms).
2026-07-31T03:14:24.5192114Z   Restored D:\a\_work\1\s\examples\Microsoft.Spark.CSharp.Examples\Microsoft.Spark.CSharp.Examples.csproj (in 1.1 sec).
2026-07-31T03:14:29.1896421Z   Microsoft.Spark -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark\Release\netstandard2.0\Microsoft.Spark.dll
2026-07-31T03:14:29.7771740Z   Microsoft.Spark.Extensions.Delta -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.Delta\Release\netstandard2.0\Microsoft.Spark.Extensions.Delta.dll
2026-07-31T03:14:30.1609160Z   Microsoft.Spark.Extensions.Hyperspace -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.Hyperspace\Release\netstandard2.0\Microsoft.Spark.Extensions.Hyperspace.dll
2026-07-31T03:14:32.8829742Z   Microsoft.Spark -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark\Release\netstandard2.1\Microsoft.Spark.dll
2026-07-31T03:14:33.4587551Z   Microsoft.Spark.E2ETest.ExternalLibrary -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.E2ETest.ExternalLibrary\Release\netstandard2.0\Microsoft.Spark.E2ETest.ExternalLibrary.dll
2026-07-31T03:14:33.6605230Z   Microsoft.Spark.Extensions.Hyperspace -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.Hyperspace\Release\netstandard2.1\Microsoft.Spark.Extensions.Hyperspace.dll
2026-07-31T03:14:36.6374307Z   Microsoft.Spark.UnitTest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.UnitTest\Release\net10.0\Microsoft.Spark.UnitTest.dll
2026-07-31T03:14:36.8149529Z   The package Microsoft.Spark.Extensions.Hyperspace.2.3.738101 is missing a readme. Go to https://aka.ms/nuget/authoring-best-practices/readme to learn why package readmes are important.
2026-07-31T03:14:36.8206881Z   Successfully created package 'D:\a\_work\1\s\artifacts\packages\Release\NonShipping\Microsoft.Spark.Extensions.Hyperspace.2.3.738101.nupkg'.
2026-07-31T03:14:37.1187662Z   The package Microsoft.Spark.2.3.738101 is missing a readme. Go to https://aka.ms/nuget/authoring-best-practices/readme to learn why package readmes are important.
2026-07-31T03:14:37.1243616Z   Successfully created package 'D:\a\_work\1\s\artifacts\packages\Release\NonShipping\Microsoft.Spark.2.3.738101.nupkg'.
2026-07-31T03:14:43.9664182Z   Microsoft.Spark.CSharp.Examples -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.CSharp.Examples\Release\net472\Microsoft.Spark.CSharp.Examples.exe
2026-07-31T03:14:50.5360981Z   Microsoft.Spark.FSharp.Examples -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.FSharp.Examples\Release\net472\Microsoft.Spark.FSharp.Examples.exe
2026-07-31T03:14:50.7301151Z   Microsoft.Spark.FSharp.Examples -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.FSharp.Examples\Release\net48\Microsoft.Spark.FSharp.Examples.exe
2026-07-31T03:14:50.7309266Z   Microsoft.Spark.FSharp.Examples -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.FSharp.Examples\Release\net8.0\Microsoft.Spark.FSharp.Examples.dll
2026-07-31T03:14:53.5799774Z   Microsoft.Spark.Extensions.DotNet.Interactive -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.DotNet.Interactive\Release\net10.0\Microsoft.Spark.Extensions.DotNet.Interactive.dll
2026-07-31T03:14:53.7149174Z   Microsoft.Spark.Extensions.Delta -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.Delta\Release\netstandard2.1\Microsoft.Spark.Extensions.Delta.dll
2026-07-31T03:14:53.8790947Z   Microsoft.Spark.FSharp.Examples -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.FSharp.Examples\Release\net10.0\Microsoft.Spark.FSharp.Examples.dll
2026-07-31T03:14:53.9096190Z   Tpch -> D:\a\_work\1\s\artifacts\bin\Tpch\Release\net472\Tpch.exe
2026-07-31T03:14:55.3495343Z   Tpch -> D:\a\_work\1\s\artifacts\bin\Tpch\Release\net8.0\Tpch.dll
2026-07-31T03:14:55.4560618Z   Microsoft.Spark.CSharp.Examples -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.CSharp.Examples\Release\net10.0\Microsoft.Spark.CSharp.Examples.dll
2026-07-31T03:14:58.8351853Z   Microsoft.Spark.CSharp.Examples -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.CSharp.Examples\Release\net48\Microsoft.Spark.CSharp.Examples.exe
2026-07-31T03:14:58.8352706Z   Tpch -> D:\a\_work\1\s\artifacts\bin\Tpch\Release\net48\Tpch.exe
2026-07-31T03:14:58.8353220Z   Microsoft.Spark.Worker -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Worker\Release\net10.0\Microsoft.Spark.Worker.dll
2026-07-31T03:14:58.8353778Z   Microsoft.Spark.CSharp.Examples -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.CSharp.Examples\Release\net8.0\Microsoft.Spark.CSharp.Examples.dll
2026-07-31T03:14:58.8354392Z   Microsoft.Spark.Extensions.DotNet.Interactive -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.DotNet.Interactive\Release\net8.0\Microsoft.Spark.Extensions.DotNet.Interactive.dll
2026-07-31T03:14:59.7515280Z   Microsoft.Spark.UnitTest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.UnitTest\Release\net8.0\Microsoft.Spark.UnitTest.dll
2026-07-31T03:15:00.4709945Z   Microsoft.Spark.Extensions.DotNet.Interactive.UnitTest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.DotNet.Interactive.UnitTest\Release\net8.0\Microsoft.Spark.Extensions.DotNet.Interactive.UnitTest.dll
2026-07-31T03:15:05.8976938Z ##[error].dotnet\sdk\10.0.301\NuGet.Build.Tasks.Pack.targets(222,5): error NU5019: (NETCORE_ENGINEERING_TELEMETRY=Build) File not found: 'D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.DotNet.Interactive\Release\Microsoft.Spark.Extensions.DotNet.Interactive.dll'.
2026-07-31T03:15:05.8986353Z D:\a\_work\1\s\.dotnet\sdk\10.0.301\NuGet.Build.Tasks.Pack.targets(222,5): error NU5019: File not found: 'D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.DotNet.Interactive\Release\Microsoft.Spark.Extensions.DotNet.Interactive.dll'. [D:\a\_work\1\s\src\csharp\Extensions\Microsoft.Spark.Extensions.DotNet.Interactive\Microsoft.Spark.Extensions.DotNet.Interactive.csproj]
2026-07-31T03:15:05.8990145Z   Microsoft.Spark.E2ETest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.E2ETest\Release\net10.0\Microsoft.Spark.E2ETest.dll
2026-07-31T03:15:05.8992763Z   Microsoft.Spark.Extensions.DotNet.Interactive.UnitTest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.DotNet.Interactive.UnitTest\Release\net10.0\Microsoft.Spark.Extensions.DotNet.Interactive.UnitTest.dll
2026-07-31T03:15:05.8995908Z   Microsoft.Spark.Extensions.Delta.E2ETest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.Delta.E2ETest\Release\net10.0\Microsoft.Spark.Extensions.Delta.E2ETest.dll
2026-07-31T03:15:07.6701474Z   Microsoft.Spark.Worker -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Worker\Release\net472\Microsoft.Spark.Worker.exe
2026-07-31T03:15:10.4052063Z   Microsoft.Spark.Worker -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Worker\Release\net48\Microsoft.Spark.Worker.exe
2026-07-31T03:15:10.7995493Z   The package Microsoft.Spark.Extensions.Delta.2.3.738101 is missing a readme. Go to https://aka.ms/nuget/authoring-best-practices/readme to learn why package readmes are important.
2026-07-31T03:15:10.7999313Z   Successfully created package 'D:\a\_work\1\s\artifacts\packages\Release\NonShipping\Microsoft.Spark.Extensions.Delta.2.3.738101.nupkg'.
2026-07-31T03:15:10.8140743Z   Microsoft.Spark.Worker -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Worker\Release\net8.0\Microsoft.Spark.Worker.dll
2026-07-31T03:15:11.9042824Z   Microsoft.Spark.Worker.UnitTest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Worker.UnitTest\Release\net10.0\Microsoft.Spark.Worker.UnitTest.dll
2026-07-31T03:15:11.9415573Z   Microsoft.Spark.Worker.UnitTest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Worker.UnitTest\Release\net8.0\Microsoft.Spark.Worker.UnitTest.dll
2026-07-31T03:15:11.9970530Z   Microsoft.Spark.Extensions.Hyperspace.E2ETest -> D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.Hyperspace.E2ETest\Release\net10.0\Microsoft.Spark.Extensions.Hyperspace.E2ETest.dll
2026-07-31T03:15:12.0127376Z 
2026-07-31T03:15:12.0196196Z Build FAILED.
2026-07-31T03:15:12.0397125Z 
2026-07-31T03:15:12.0442470Z D:\a\_work\1\s\.dotnet\sdk\10.0.301\NuGet.Build.Tasks.Pack.targets(222,5): error NU5019: File not found: 'D:\a\_work\1\s\artifacts\bin\Microsoft.Spark.Extensions.DotNet.Interactive\Release\Microsoft.Spark.Extensions.DotNet.Interactive.dll'. [D:\a\_work\1\s\src\csharp\Extensions\Microsoft.Spark.Extensions.DotNet.Interactive\Microsoft.Spark.Extensions.DotNet.Interactive.csproj]
2026-07-31T03:15:12.0455313Z     0 Warning(s)
2026-07-31T03:15:12.0479609Z     1 Error(s)
2026-07-31T03:15:12.0576710Z 
2026-07-31T03:15:12.0661524Z Time Elapsed 00:01:15.99
2026-07-31T03:15:12.1280540Z Build failed with exit code 1. Check errors above.
2026-07-31T03:15:12.1324667Z See log: D:\a\_work\1\s\artifacts\log\Release\Build.binlog
2026-07-31T03:15:12.2383978Z ##[section]Finishing: .NET build

@scorpion3399

Copy link
Copy Markdown
Author

Hi @SparkSnail ,
I will take a look at it.

* Microsoft.Spark.E2ETest.csproj
* Microsoft.Spark.Extensions.*.E2ETest.csproj
Also, changed the packing directive of Microsoft.Spark.Extensions.DotNet.Interactive
@scorpion3399

Copy link
Copy Markdown
Author

/AzurePipelines run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 1244 in repo dotnet/spark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST]: Support for .Net 10 LTS

2 participants