You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say that I have MyUpdateTask bundled within MySuperApp.exe, v.0.1.
As soon as I release new version of this assembly, updater starts failing as it loads only new version of assembly into AppDomain and not the old one.
System.Runtime.Serialization.SerializationException: Unable to find assembly 'MySuperApp, Version=0.1, Culture=neutral, PublicKeyToken=null'.
at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfoassemblyInfo,Stringname)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(StringobjectName,String[]memberNames,BinaryTypeEnum[]binaryTypeEnumA,Object[]typeInformationA,Int32[]memberAssemIds,ObjectReaderobjectReader,Int32objectId,BinaryAssemblyInfoassemblyInfo,SizedArrayassemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTypedrecord)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandlerhandler,__BinaryParserserParser,BooleanfCheck,BooleanisCrossAppDomain,IMethodCallMessagemethodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(StreamserializationStream,HeaderHandlerhandler,BooleanfCheck,BooleanisCrossAppDomain,IMethodCallMessagemethodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(StreamserializationStream,HeaderHandlerhandler,BooleanfCheck,IMethodCallMessagemethodCallMessage)
at NAppUpdate.Framework.Utils.NauIpc.ReadDto(StringsyncProcessName)
at NAppUpdate.Updater.AppStart.Main()
The text was updated successfully, but these errors were encountered:
Use less strict serialization format (JSON?) as this problem will appear for newer versions of NAppUpdate as well, as soon as you change assembly version
Let's say that I have MyUpdateTask bundled within MySuperApp.exe, v.0.1.
As soon as I release new version of this assembly, updater starts failing as it loads only new version of assembly into AppDomain and not the old one.
The text was updated successfully, but these errors were encountered: