-
Notifications
You must be signed in to change notification settings - Fork 74
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
CommunityToolkit.WinUI.xxx 8.1.240916 issue #543
Comments
Same here ... Warning DEP0840: Project 'CTI2' requires packages 'MicrosoftCorporationII.WinAppRuntime.Main.1.6_8wekyb3d8bbwe' and 'MicrosoftCorporationII.WinAppRuntime.Singleton_8wekyb3d8bbwe' with version >= '6000.242.101.0'. These packages should be installed on first run, if not please visit http://go.microsoft.com/fwlink/?linkid=2222757 for installation instructions. CTI2
When I compile the app, the warning is gone, only when I start the app does the warning reappear. |
Hello there, I am using Windows 10 22H2 with VisualStudio 2022 17.11.5 x64 and dotnet 8.0.10 and windows app sdk 1.6.1. I had the same issue with WinUI3 in general. I had my VisualStudio 2022 running in admin mode which was the culprit for me. Once i launched everything in a normal user context without elevated permissions, it started working again. Maybe that will do as a workaround for you. |
This seems like the error we encountered in #516, which ended up being a platform issue. @JLBLU Could you please try updating to the latest Preview Packages on the |
Hi @Arlodotexe For example, I have no issue with CommunityToolkit.Mvvm 8.2.1 and issue occurs with 8.2.2, even with last version 8.4.0 preview 2 |
@JLBLU you started with the Windows Community Toolkit WinUI.* packages, we're still talking about those. If you're also having issues with the MVVM packages, you should file a separate issue about those at https://github.com/CommunityToolkit/dotnet. For your original issue here, do you see any change with the latest 8.2.241112-preview1 packages makes a difference? |
Hi, For this issue : I've found that issue comes from the fact that I had a control ComboBox with an ComboBox.ItemTemplate :
The aim was to display a list of items with colored text. |
Describe the bug
Hi,
After installation of CommunityToolkit.WinUI.xxx (*) new versions (from 8.1.240821 to 8.1.240916), following issue occurs during execution :
Microsoft.UI.Xaml.Markup.XamlParseException : 'The text associated with this error code could not be found.'
Failed to assign to property 'Microsoft.UI.Xaml.Controls.ItemsControl.ItemsSource'. [Line: 968 Position: 37]'
...
///
/// InitializeComponent()
///
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.UI.Xaml.Markup.Compiler"," 3.0.0.2408")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void InitializeComponent()
{
if (_contentLoaded)
return;
(*) CommunityToolkit.WinUI.Extensions + .Helpers + .Controls.TabbedCommandBar + .Controls.Sizers + .Controls.RadialGauge + .Controls.Primitives + + .Controls.layoutTransformControl + .Controls.Sizers + .Controls.Behaviors
//
Also warning :
DEP0840: Project 'XXXXX' `requires packages 'MicrosoftCorporationII.WinAppRuntime.Main.1.6_8wekyb3d8bbwe' and 'MicrosoftCorporationII.WinAppRuntime.Singleton_8wekyb3d8bbwe' with version version >= « 6000.242.101.0 ».. These packages should be installed on first run, if not please visit http://go.microsoft.com/fwlink/?linkid=2222757 for installation instructions.
(despite several clean+rebuild)
//
WinExe net8.0-windows10.0.26100.0 10.0.17763.0 10.0.22621.38 app.manifest x64 win-x64 win-$(Platform).pubxml truebest regards,
Jean-Luc
Regression
CommunityToolkit.WinUI.xxx 8.1.240821
Reproducible in sample app?
Steps to reproduce
Expected behavior
Cannot load screen.
Contains controls :
Grid, DockPanel, AppBarButton, TextBlock, StackPanel, PasswordBox, TextBox, ComboBox, ScrollViewer,
GridSplitter, DataGrid, DataGridTemplateColumn
Screenshots
Windows Build Number
Other Windows Build number
Windows 11 23H2 Build 22631.4169
App minimum and target SDK version
Other SDK version
target SDK version 10.0.621.0
Visual Studio Version
No response
Visual Studio Build Number
Microsoft Visual Studio Community 2022 (64 bits) - Current Version 17.11.3
Device form factor
Desktop
Nuget packages
CommunityToolkit.WinUI.xxx () new versions 8.1.240916
() CommunityToolkit.WinUI.Extensions + .Helpers + .Controls.TabbedCommandBar + .Controls.Sizers + .Controls.RadialGauge + .Controls.Primitives + + .Controls.layoutTransformControl + .Controls.Sizers + .Controls.Behaviors
+
CommunityToolkit.Mvvm 8.3.1
+
Microsoft.WindowsAppSDK 1.6.240829007
Additional context
No response
Help us help you
No.
The text was updated successfully, but these errors were encountered: