You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a newly created UNO platform solution targeting .Net9, creating a new project (uno platform library) results in the project targeting .Net8.
Uno-check, Uno-templates and Uno were updated before creating the solution.
Expected behavior
Would expect the new project to target .Net9 like the solution created.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
Edit the newly added project file to target .Net9 (copy paste the targetframework from the project file created when the solution was created.)
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
Build tasks
IDE
Visual Studio 2022
IDE version
17.12.0
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered:
At this time, the class library template does not have a net9 version, only net8. You'll notice that there's no choice either in the template itself to do so. What you did you update the csproj manually is the way to go at this time.
jeromelaban
changed the title
Creating a new "Uno Platform library" in a solution targeting net9, results in the newly created project to have .net8 dependencies
Support for net9 Uno Platform class library
Nov 15, 2024
Current behavior
In a newly created UNO platform solution targeting .Net9, creating a new project (uno platform library) results in the project targeting .Net8.
Uno-check, Uno-templates and Uno were updated before creating the solution.
Expected behavior
Would expect the new project to target .Net9 like the solution created.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
Edit the newly added project file to target .Net9 (copy paste the targetframework from the project file created when the solution was created.)
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
Build tasks
IDE
Visual Studio 2022
IDE version
17.12.0
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: