Krypton-Suite / Standard-Toolkit

An update to Component factory's krypton toolkit to support .NET Framework 4.6.2 - 4.8.1 to .NET 6 - 8
BSD 3-Clause "New" or "Revised" License
393 stars 58 forks source link

[Discussion]: Evaluate .NET 9 Release Candidates and General Availability Release Breaking Changes #1777

Open giduac opened 1 week ago

giduac commented 1 week ago

Evaluate breaking changes for DN9: https://learn.microsoft.com/en-us/dotnet/core/compatibility/9.0

Investigate the remediation of warning WFO1000

The .NET error WFO1000 was introduced in .NET 9 RC-1 and occurs primarily in WinForms applications. It signifies that a property within a component is not properly configured for serialization. This issue arises when properties lack appropriate serialization attributes, causing the application to throw the error during compilation.

Winforms: BindingSource.SortDescriptions doesn't return null

Changes to nullability annotations (Windows Forms)

ComponentDesigner.Initialize throws ArgumentNullException https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.design.componentdesigner.initialize?view=windowsdesktop-8.0

DataGridViewRowAccessibleObject.Name starting row index

IMsoComponent support is opt-in

No exception if DataGridView is null

PictureBox raises HttpClient exceptions

giduac commented 6 days ago

@Smurf-IV, @PWagner1 & @Ahmed-Abdelhameed,

I'm getting reluctant to go full throttle on .NET 9 RC1 at this point. https://github.com/dotnet/sdk/issues/43339

I think we should evaluate the breaking changes and see what needs to be done on the toolkit and can prepare what is possible ahead of RC2.

From there we wait until RC2 is released to see if that proves stable.

Smurf-IV commented 6 days ago

From there we wait until RC2 is released to see if that proves stable.

Agreed.

giduac commented 5 days ago

Hi @PWagner1, @Smurf-IV & @Ahmed-Abdelhameed,

I've updated the topic start with my findings so far.

Can you all please evaluate the Breaking changes for yourselves and see what needs to be done?