Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message=Field not found: 'Avalonia.Controls.Presenters.ItemsPresenter.AreVerticalSnapPointsRegularProperty'. #22

Open
wjkhappy14 opened this issue Jul 12, 2023 · 2 comments

Comments

@wjkhappy14
Copy link

System.MissingFieldException
HResult=0x80131511
Message=Field not found: 'Avalonia.Controls.Presenters.ItemsPresenter.AreVerticalSnapPointsRegularProperty'.
Source=FluentAvalonia
StackTrace:
在 CompiledAvaloniaXaml.!AvaloniaResources.XamlClosure_626.XamlClosure_627.Build(IServiceProvider )
在 Avalonia.Markup.Xaml.XamlIl.Runtime.XamlIlRuntimeHelpers.<>c__DisplayClass1_0`1.b__0(IServiceProvider sp)
在 Avalonia.Markup.Xaml.Templates.TemplateContent.Load(Object templateContent)
在 Avalonia.Markup.Xaml.Templates.ControlTemplate.Build(TemplatedControl control)
在 Avalonia.Controls.Primitives.TemplatedControl.ApplyTemplate()
在 Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)
在 Avalonia.Layout.Layoutable.Measure(Size availableSize)
在 Avalonia.Controls.StackPanel.MeasureOverride(Size availableSize)
在 Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)
在 Avalonia.Layout.Layoutable.Measure(Size availableSize)
在 Avalonia.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
在 Avalonia.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
在 Avalonia.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
在 Avalonia.Controls.Grid.MeasureOverride(Size constraint)
在 Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)
在 Avalonia.Layout.Layoutable.Measure(Size availableSize)
在 Avalonia.Controls.Grid.MeasureOverride(Size constraint)
在 Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)
在 Avalonia.Layout.Layoutable.Measure(Size availableSize)
在 Avalonia.Layout.LayoutHelper.MeasureChild(Layoutable control, Size availableSize, Thickness padding, Thickness borderThickness)
在 Avalonia.Controls.Presenters.ContentPresenter.MeasureOverride(Size availableSize)
在 Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)
在 Avalonia.Layout.Layoutable.Measure(Size availableSize)
在 Avalonia.Layout.LayoutHelper.MeasureChild(Layoutable control, Size availableSize, Thickness padding)
在 Avalonia.Controls.Decorator.MeasureOverride(Size availableSize)
在 Avalonia.Controls.Primitives.VisualLayerManager.MeasureOverride(Size availableSize)
在 Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)
在 Avalonia.Layout.Layoutable.Measure(Size availableSize)
在 Avalonia.Layout.Layoutable.MeasureOverride(Size availableSize)
在 Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)
在 Avalonia.Layout.Layoutable.Measure(Size availableSize)
在 Avalonia.Layout.Layoutable.MeasureOverride(Size availableSize)
在 Avalonia.Controls.Window.MeasureOverride(Size availableSize)
在 Avalonia.Controls.WindowBase.MeasureCore(Size availableSize)
在 Avalonia.Layout.Layoutable.Measure(Size availableSize)
在 Avalonia.Layout.LayoutManager.Measure(Layoutable control)
在 Avalonia.Layout.LayoutManager.ExecuteInitialLayoutPass()
在 Avalonia.Controls.Window.ShowCore(Window owner)
在 Avalonia.Controls.Window.Show()
在 HanumanInstitute.Avalonia.CommonWindow.<>n__0()
在 HanumanInstitute.Avalonia.CommonWindow.d__1.MoveNext() 在 D:\HanumanInstituteApps\Src\Avalonia\Controls\CommonWindow.cs 中: 第 27 行

@wjkhappy14
Copy link
Author

System.MissingFieldException:“Field not found: 'Avalonia.Controls.Presenters.ItemsPresenter.AreVerticalSnapPointsRegularProperty'.”

@mysteryx93
Copy link
Owner

FluentAvalonia has yet to release a version for Avalonia v11.0.0 final. I'm waiting for them to publish that before I can publish a new version. In the meantime, you can rollback to Avalonia RC1.1; but there may be other breaking changes in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants