Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1479
Is net9.0-windows supported yet?
posted

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

Parents Reply Children
No Data