Skip to content

TabbedCommandBar MinVersion Conflict #3779

@michael-hawker

Description

@michael-hawker

Describe the bug

Saw this warning in the CI:

 D:\a\1\s\Microsoft.Toolkit.Uwp.UI.Controls.Core\TabbedCommandBar\TabbedCommandBar.xaml(91,57): XamlCompiler warning WMC0151: Member 'ShouldConstrainToRootBounds' on type 'Windows.UI.Xaml.Controls.Primitives.IFlyoutBase6' is defined under contract 'Windows.Foundation.UniversalApiContract' version '8.0.0.0', but the contract version for the targeted min version is '7.0.0.0'! [D:\a\1\s\Microsoft.Toolkit.Uwp.UI.Controls.Core\Microsoft.Toolkit.Uwp.UI.Controls.Core.csproj]

Seems like we're using a property which isn't supported down to 1809. https://docs.microsoft.com/uwp/api/windows.ui.xaml.controls.primitives.flyoutbase.shouldconstraintorootbounds

Expected behavior

We need to remove property or add conditional XAML (which not sure if that's fixed yet? microsoft/microsoft-ui-xaml#2556)

FYI @yoshiask

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions