Open JLBLU opened 2 months ago
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
`<?xml version="1.0" encoding="utf-8"?>
`
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 https://github.com/CommunityToolkit/Windows/issues/516, which ended up being a platform issue.
@JLBLU Could you please try updating to the latest Preview Packages on the MainLatest
feed and see if that resolves your issue?
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
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)
//