textadventures / quest

Create text adventure games
http://textadventures.co.uk/quest
MIT License
301 stars 70 forks source link

Program won't start - "An item with the same key has already been added" #1159

Open UnoriginalNames opened 2 years ago

UnoriginalNames commented 2 years ago

Upon trying to start quest, the following error pops up every time. Reinstalling and trying older versions does not help.

System.InvalidOperationException: Fehler beim Erstellen des Formulars. Weitere Informationen finden Sie in Exception.InnerException. Fehler: The invocation of the constructor on type 'GameBrowser.EditBrowser' that matches the specified binding constraints threw an exception.. ---> System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'GameBrowser.EditBrowser' that matches the specified binding constraints threw an exception. ---> System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.ObjectModel.KeyedCollection2.AddKey(TKey key, TItem item) at System.Collections.ObjectModel.KeyedCollection2.InsertItem(Int32 index, TItem item) at System.Collections.ObjectModel.Collection1.Add(T item) at GameBrowser.RecentItems.LoadRecentList() at GameBrowser.RecentItems..ctor(String listName) at GameBrowser.EditBrowser..ctor() --- End of inner exception stack trace --- at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at GameBrowser.Launcher.InitializeComponent() at GameBrowser.Launcher..ctor() at TextAdventures.Quest.Main.InitializeComponent() at TextAdventures.Quest.Main..ctor() --- End of inner exception stack trace --- at TextAdventures.Quest.My.MyProject.MyForms.CreateInstance[T](T Instance) at TextAdventures.Quest.My.MyApplication.OnCreateMainForm() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()