SaDiablo / GenshinCompanion

App designed to help you keep track of how things progress in your Genshin Impact adventure
MIT License
2 stars 0 forks source link

Fix System.ArgumentException: Region with the given name is already registered: StatusBarRegion in RegionCollection.Add (IRegion region) #12

Closed SaDiablo closed 3 years ago

SaDiablo commented 3 years ago

Version 1.1.1(1.1.1.0)

Stacktrace

Prism.Regions.RegionManager.RegionCollection.Add(IRegion region);Prism.Regions.RegionManager

Prism.Regions.Behaviors.RegionManagerRegistrationBehavior.TryRegisterRegion();Prism.Regions.Behaviors

Prism.Regions.Behaviors.RegionManagerRegistrationBehavior.StartMonitoringRegionManager();Prism.Regions.Behaviors

Prism.Regions.Behaviors.RegionManagerRegistrationBehavior.OnAttach();Prism.Regions.Behaviors

Prism.Regions.RegionBehavior.Attach();Prism.Regions

Prism.Regions.RegionBehaviorCollection.Add(String key, IRegionBehavior regionBehavior);Prism.Regions

Prism.Regions.RegionAdapterBase`1.AttachDefaultBehaviors(IRegion region, T regionTarget);Prism.Regions

Prism.Regions.RegionAdapterBase`1.Initialize(T regionTarget, String regionName);Prism.Regions

Prism.Regions.RegionAdapterBase1.Prism.Regions.IRegionAdapter.Initialize(Object regionTarget, String regionName);Prism.Regions.RegionAdapterBase1.Prism.Regions

Prism.Regions.Behaviors.DelayedRegionCreationBehavior.CreateRegion(DependencyObject targetElement, String regionName);Prism.Regions.Behaviors

Reason

System.ArgumentException: Region with the given name is already registered: StatusBarRegion

Link to App Center