Skip to content

resource not found error !!! #3577

Closed Answered by nicolaihenriksen
CallMeDang123 asked this question in Q&A
Discussion options

You must be logged in to vote

@CallMeDang123 What does your App.xaml look like? You need to have the base resource dictionaries imported for {StaticResource MaterialDesignXyz} to work...

Example from a working App.xaml:

<Application ...
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <materialDesign:BundledTheme BaseTheme="Inherit"
                                             ColorAdjustment="{materialDesign:ColorAdjustment}"
                                             PrimaryColor="DeepPurple"
                                             SecondaryColor="Lime

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CallMeDang123
Comment options

Answer selected by Keboo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants