AvaloniaUtils / DialogHost.Avalonia

AvaloniaUI control that provides a simple way to display a dialog with information or prompt the user when information is needed
MIT License
270 stars 16 forks source link

Bug when starting and running under net framework 4.7.2 #39

Closed doubleright closed 3 months ago

doubleright commented 1 year ago

在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) 在 System.Collections.Generic.Dictionary2.KeyCollection.Enumerator.MoveNext() 在 System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() 在 System.Reactive.Disposables.CompositeDisposable.ToList(IEnumerable1 disposables) 在 System.Reactive.Disposables.CompositeDisposable..ctor(IEnumerable1 disposables) 在 DialogHostAvalonia.Utilities.MultiDynamicResourceExtension.MultiDynamicResourceObservable..ctor(IEnumerable`1 observables, Object defaultValue) 在 DialogHostAvalonia.Utilities.MultiDynamicResourceExtension.Avalonia.Data.IBinding.Initiate(AvaloniaObject target, AvaloniaProperty targetProperty, Object anchor, Boolean enableDataValidation) 在 Avalonia.Styling.Setter.SetBinding(StyleInstance instance, AvaloniaObject target, IBinding binding) 在 Avalonia.Styling.Setter.Instance(IStyleInstance instance, StyledElement target) 在 Avalonia.Styling.StyleBase.Attach(StyledElement target, IStyleActivator activator, FrameType type) 在 Avalonia.Styling.ControlTheme.TryAttach(StyledElement target, FrameType type) 在 Avalonia.StyledElement.ApplyControlTheme(ControlTheme theme, FrameType type) 在 Avalonia.StyledElement.ApplyControlTheme() 在 Avalonia.StyledElement.ApplyStyling() 在 Avalonia.StyledElement.EndInit()

SKProCH commented 11 months ago

@doubleright to be honest I can't properly setup a net framework project with Avalonia. Please, provide an minimal reproduceable example.

doubleright commented 11 months ago

`

  <dialogHost:DialogHost Identifier="demo2" />
  <dialogHost:DialogHost Identifier="demo3" />
  <dialogHost:DialogHost Identifier="demo4" />

.... `

@SKProCH like this xaml

SKProCH commented 11 months ago

Still can't setup an Avalonia project what runs on net framework 4.7.2. Can you provide a minimal reproduceable example project (via zip file or github repo) that i can launch to debug this?

SKProCH commented 3 months ago

Closing as stale. If the issue still relevant - feel free to reopen this or create a new one.