I've just updated a solution from net8.0-windows to net9.0-windows, and am now getting a run time error when the application starts. The error is happening on this line:
CType(mainToolbarsManager, ComponentModel.ISupportInitialize).EndInit()
The exception details are as follows:
System.ApplicationException HResult=0x80131600 Message=Error encountered while serializing data into stream. Source=Infragistics.Win.UltraWinToolbars StackTrace: at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.SaveHelper(Stream stream, IFormatter formatter) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.SaveAsBinaryHelper(Stream stream, Boolean saveCustomizations) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.SaveAsBinary(Stream stream, Boolean saveCustomizations) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.CreateRestorePointHelper() at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.CreateRestorePoint(Boolean asynchronous) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.EndInitImpl() at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.System.ComponentModel.ISupportInitialize.EndInit() at Saturn.Main.MainForm.InitializeComponent() in C:\Work\Saturn\Desktop\Master\Saturn.Main\MainForm.designer.vb:line 1331 at Saturn.Main.MainForm..ctor() in C:\Work\Saturn\Desktop\Master\Saturn.Main\MainForm.vb:line 52 at System.RuntimeType.CreateInstanceOfT() This exception was originally thrown at this call stack: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(System.IO.Stream, object) Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.SaveHelper(System.IO.Stream, System.Runtime.Serialization.IFormatter) Inner Exception 1: PlatformNotSupportedException: BinaryFormatter serialization and deserialization have been removed. See https://aka.ms/binaryformatter for more information.
As I'm sure you know, BinaryFormatter is no longer permitted in net9, and I'm wondering if you've updated your winforms controls to cover this? If not, do you have an estimate of when you will support it? I'm using 24.1.57 currently
Hello,
We are currently working on .NET 9 support. Please wait until we release 24.2 which will support .NET 9. More details will be provided in our documentation upon its release.
Michael DiFilippo said:Please wait until we release 24.2 which will support .NET 9.
So that was a lie. I have installed 24.2 now it has been released and its still not fixed.
Thank you Michael, that's good to know. Do you have any estimate on when this is likely to be released?