Skip to content

Try adding some .NET 10 support - #4297

Merged
forki merged 2 commits into
fsprojects:masterfrom
Numpsy:net10
Nov 11, 2025
Merged

forki merged 2 commits into
fsprojects:masterfrom
Numpsy:net10

Conversation

@Numpsy

@Numpsy Numpsy commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

refs #4296

Basically cloned from the changes to add .NET 9 support, as I'm learning this as I go along.

As it stands the new tests don't quite work because the tryNormalizeVersion function is parsing the 10 in net10-windows into 1.0 instead of 10.0 - I haven't had time to look at that further.

@Numpsy

Numpsy commented Jun 24, 2025 •

Copy link
Copy Markdown
Contributor Author

parsing the 10 in net10-windows into 1.0

Saying that, the MS Docs list net11 as being .NET Framework 1.1, so I suppose you can't try treating 10/11 as 10.0/11.0 in that case

@Numpsy
Numpsy marked this pull request as ready for review June 24, 2025 09:56
@methvind

Copy link
Copy Markdown

There's now an official release candidate for .NET 10 and a supporting preview version of Visual Studio 2026. Chances are high that people will start experimenting with .NET 10 because of these releases.

Thanks to Numpsy for your work on this! Has there been other conversation about accepting these changes to support .NET 10? Is there other work that needs to be done to get a new version of Paket out? Are there ways I or other contributors could help get this moving again?

@Numpsy

Numpsy commented Sep 12, 2025

Copy link
Copy Markdown
Contributor Author

I haven't seen any other discussion besides the linked issues.

There don't appear to be any CI builds of recent PRs so possibly it hasn't had an official test run yet either

@gdziadkiewicz

Copy link
Copy Markdown

Hi @Numpsy , I got the App Veyor running for my fork. The build for current master is running here https://ci.appveyor.com/project/gdziadkiewicz/paket/builds/52894977 and the build for your net10 branch is running here https://ci.appveyor.com/project/gdziadkiewicz/paket/builds/52895002

My 2 cents on the net10 thing - during my update to net10.0 in a nuget-only solution net10 was interpreted as net1.0 by msbuild and I had to go with net10.0 to make it work in the end (you cane see that here https://gitlab.com/gdziadkiewicz/log4net.Ext.Json/-/jobs/11622968893#L39 ). Maybe Paket could do the same (force calling it net10.0)?

@Jand42

Jand42 commented Nov 8, 2025 •

Copy link
Copy Markdown
Contributor

Hi @Numpsy, @gdziadkiewicz, see my commit Jand42@76e0c02 on top of this PR which makes parses ".netXX.0" into version "XX.0", also handling OS specific versions, while keeping UAP parsing intact. All current unit tests are passing. However, I am still running integration testing, and testing with real project, will share updates.

@Jand42

Jand42 commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@gdziadkiewicz I had integration test fails but all looked unrelated, must be environmental, I would be grateful for a CI build to verify all. I have also used my local build with WebSharper, both for dotnet paket use and Paket.Core for version parsing, all is working fine with net10.0 framework updates.

@gdziadkiewicz

Copy link
Copy Markdown

@Jand42

Jand42 commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

@gdziadkiewicz Thanks, these do seem to be the same 9 fails as on master, tied to existing tickets.

@forki
forki merged commit 32777b1 into fsprojects:master Nov 11, 2025
@Numpsy
Numpsy deleted the net10 branch November 11, 2025 14:02
@forki

forki commented Nov 11, 2025

Copy link
Copy Markdown
Member

thanks. this is now base for 10.0.0-alpha

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.

5 participants