WPF VS2013: An error occurred while finding the resource dictionary

后端 未结 1 1708
盖世英雄少女心
盖世英雄少女心 2021-01-14 02:08

Team,

I have a simple wpf project in Visual Studio 2013. The structure is shown below. All that the error says is as shown in the title \"An error occurred while fi

相关标签:
1条回答
  • 2021-01-14 02:50

    It should read:

    ...Source="/Skins/MainSkin.xaml"
    

    As the skin isn't in the Content directory.

    At the moment it's looking for Content/Skins/MainSkin.xaml (hence / will 'take it up' a directory back to the root).

    0 讨论(0)
提交回复
热议问题