Launchbox did a software update on my Windows based video game and now BigBox throws and error and it won't boot up properly. The error is below. Can I revert to the previous version or is there a fix for this issue? Microsoft states...
It looks like you're encountering an issue with BinaryFormatter being removed from .NET. This change was made due to security vulnerabilities associated with BinaryFormatter. Starting with .NET 9, the implementation of BinaryFormatter has been removed, and attempting to use it will result in a NotSupportedException.
To resolve this issue, you'll need to migrate away from BinaryFormatter. Microsoft recommends using JsonSerializer or XmlSerializer as alternatives.
This is the error message...
(Inner Exception)
BinaryFormatter serialization and deserialization have been removed. See https://aka.ms/binaryformatter for more information.
App: Big Box
Version: 13.19
Theme: Unified Redux
Type: System.PlatformNotSupportedException
Site: System.Object Deserialize(System.IO.Stream)
Source: System.Runtime.Serialization.Formatters
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
at System.Resources.ResourceReader.<>c__DisplayClass7_0`1.<CreateUntypedDelegate>b__0(Object obj, Stream stream)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.ReadValue(ResourceReader reader, Int32 dataPos, Boolean isString, ResourceLocator& locator)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at OmegaSettingsMenu.MarqueeForm.InitializeComponent()
at OmegaSettingsMenu.MarqueeForm..ctor(TheSystemMenuItem parent)
at OmegaSettingsMenu.TheSystemMenuItem..ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
(Outer Exception)
Exception has been thrown by the target of an invocation.
App: Big Box
Version: 13.19
Theme: Unified Redux
Type: System.Reflection.TargetInvocationException
Site: System.Object CreateInstanceDefaultCtor(Boolean, Boolean)
Source: System.Private.CoreLib
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at Unbroken.LaunchBox.Windows.Root.<>c__81`1.ForgotInvalidPage(Type type)
at System.Linq.Enumerable.ListSelectIterator`2.MoveNext()
at Unbroken.LaunchBox.Windows.Root.InitInvalidDispatcher[T](IEnumerable`1 spec, ConcurrentDictionary`2& visitor)
at Unbroken.LaunchBox.Windows.Root.LoadPlugins(String folderPath)
at Unbroken.LaunchBox.Windows.BigBox.App.CheckCustomer(Object)
at Unbroken.LaunchBox.Windows.BigBox.App..ctor()
at Unbroken.LaunchBox.Windows.BigBox.BigBoxProgram.Main()
Recent Log:
9:06:00 PM Exception