The text in the brackets is the exception that comes from the LibMerger
First x64 desktop segments were added, then it throws the exception when trying to add the arm64 desktop targets.
On top of that the documentation is wrong
Try
Var merge As New LibMerger
merge.AddLibrary(SpecialFolder.Desktop.Child("MyDesktopLibrary.xojo_library"))
merge.AddLibrary(SpecialFolder.Desktop.Child("MyWebLibrary.xojo_library"))
merge.SaveMergedLibrary(SpecialFolder.Desktop.Child("MergedLibrary.xojo_library"))
Catch error as UnsupportedFormatException
System.Beep
MessageBox(error.Message)
End Try
merge.SaveMergedLibrary does not exist. correct is merge.SaveMergedLibraryTo
