You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are the versions I am using (all up to date)
CommunityToolkit.WinUI.Controls.HeaderedControls" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.Primitives" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.RangeSelector" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.Sizers" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.Segmented" Version="8.1.240916"
CommunityToolkit.WinUI.Converters" Version="8.1.240916"
CommunityToolkit.WinUI.Animations" Version="8.1.240916"
For release build, as long as I click on a Page that contains Segmented control, it crashes. Maybe it has something to do with introducing xmlns:controls="using:CommunityToolkit.WinUI.Controls" in the xaml?
The error is very generic (like always:():
Failed to assign to property 'Microsoft.UI.Xaml.ResourceDictionary.Source' because the type 'Windows.Foundation.String' cannot be assigned to the type 'Windows.Foundation.Uri'.
Steps to reproduce
It should be easy to reproduce, just create a new app with PublishAot set to true. Add Segmented control to the home page and run under release mode.
Describe the bug
These are the versions I am using (all up to date)
CommunityToolkit.WinUI.Controls.HeaderedControls" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.Primitives" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.RangeSelector" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.Sizers" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.1.240916"
CommunityToolkit.WinUI.Controls.Segmented" Version="8.1.240916"
CommunityToolkit.WinUI.Converters" Version="8.1.240916"
CommunityToolkit.WinUI.Animations" Version="8.1.240916"
Microsoft.Windows.CsWinRT" Version="2.1.6"
Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742"
Microsoft.WindowsAppSDK" Version="1.6.240923002"
And I set this in the csproj:
PublishAot->True
For release build, as long as I click on a Page that contains Segmented control, it crashes. Maybe it has something to do with introducing xmlns:controls="using:CommunityToolkit.WinUI.Controls" in the xaml?
The error is very generic (like always:():
Failed to assign to property 'Microsoft.UI.Xaml.ResourceDictionary.Source' because the type 'Windows.Foundation.String' cannot be assigned to the type 'Windows.Foundation.Uri'.
Steps to reproduce
It should be easy to reproduce, just create a new app with PublishAot set to true. Add Segmented control to the home page and run under release mode.
Expected behavior
App should not crash.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
Windows 11 24H2 (Build 26100)
App minimum and target SDK version
Other SDK version
Visual Studio Version
2022
Visual Studio Build Number
No response
Device form factor
Desktop
Additional context
No response
Help us help you
No, I'm unable to contribute a solution.
The text was updated successfully, but these errors were encountered: