Skip to content

WinUI: fix conditional compilation for .NET 8#4374

Merged
swharden merged 2 commits intoScottPlot:mainfrom
vilgotf:winui-net8
Oct 22, 2024
Merged

WinUI: fix conditional compilation for .NET 8#4374
swharden merged 2 commits intoScottPlot:mainfrom
vilgotf:winui-net8

Conversation

@vilgotf
Copy link
Contributor

@vilgotf vilgotf commented Oct 22, 2024

.NET 8 was recently added as a target framework which exposed this condition as too limited as it is only true for .NET 6.

Since WinUI 3 requires .NET 6 and Windows 10 1809, this condition can be wholly removed; dependents will fail the WASDK conditions regardless.

Closes #4288

vilgotf and others added 2 commits October 22, 2024 09:10
.NET 8 was recently added as a target framework which exposed this condition as too limited as it is only true for .NET 6.

Since WinUI 3 requires .NET 6 and Windows 10 1809, this condition can be wholly removed; dependents will fail the WASDK conditions regardless.
@swharden swharden enabled auto-merge (squash) October 22, 2024 23:15
@swharden
Copy link
Member

Thanks @vilgotf! I'll publish a new package on Nuget within the next few days and I'm excited that this will be in it 🚀

@swharden swharden merged commit 55e9eb4 into ScottPlot:main Oct 22, 2024
@vilgotf vilgotf deleted the winui-net8 branch October 23, 2024 08:15
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.

WinUIPlotMenu.OpenSaveImageDialog() is broken

2 participants