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

Error: Converter failed to convert value of type 'Windows.Foundation.IReference`1<Microsoft.UI.Xaml.GridLength>' to type 'Double'; #9392

Closed
snandaworld opened this issue Mar 4, 2024 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists Regression team-Controls Issue for the Controls team

Comments

@snandaworld
Copy link

Describe the bug

Started getting the Below error while Debugging WinUI 3 App with MSIX and Self-contained package after upgrading the Windows app SDK to v.1.5.
Error: Converter failed to convert value of type 'Windows.Foundation.IReference`1<Microsoft.UI.Xaml.GridLength>' to type 'Double'; BindingExpression: Path='TemplateSettings.CompactPaneGridLength' DataItem='Microsoft.UI.Xaml.Controls.SplitView'; target element is 'Microsoft.UI.Xaml.Media.Animation.SplineDoubleKeyFrame' (Name='null'); target property is 'Value' (type 'Double').

Steps to reproduce the bug

  1. Run any WinUI 3 App with MSIX and Self-contained package in Debug mode and observe the Output window. You will see the error message.

Expected behavior

Prior to WAS 1.5, this error wasn't seen.

Screenshots

image

NuGet package version

WinUI 3 - Windows App SDK 1.5.0: 1.5.240227000

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@snandaworld snandaworld added the bug Something isn't working label Mar 4, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 4, 2024
@bpulliam bpulliam added team-Controls Issue for the Controls team Regression and removed needs-triage Issue needs to be triaged by the area owners labels Mar 4, 2024
@parko65
Copy link

parko65 commented Mar 5, 2024

I started seeing this after upgrading WinUI3 app to SDK 1.5 and .net8. I've rolled back to .net7 and latest 1.4 until I understand what detrimental effect this has.

@ranjeshj ranjeshj added the duplicate This issue or pull request already exists label Mar 6, 2024
@ranjeshj
Copy link
Contributor

ranjeshj commented Mar 6, 2024

Looks like a dup of 9384

@ranjeshj ranjeshj closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists Regression team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

4 participants