Failed to add *** to UIElementCollection. Unspecified error

聊妹 Dark 15 Reputation points
2023-10-29T08:47:38.3833333+00:00

Failed to add *** to UIElementCollection. Unspecified error

XDG001

Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. 聊妹 Dark 15 Reputation points
    2023-10-30T11:15:12.23+00:00

    I managed to solve the problem! Adding App.xaml code to redeploy solved!

    <Application.Resources>
            <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
        </Application.Resources>
    
    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.