VivekDev
VivekDev

Reputation: 25389

WPF VS2013: An error occurred while finding the resource dictionary

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 finding the resource dictionary". I have tried many suggestions from the net and running out of patience. Every thing seems to be alright. Any one experienced with this can kindly suggest some thing. Thanks in advance.

VS 2013 Wpf Project Showing the error with respect to resources

Upvotes: 4

Views: 4498

Answers (1)

user1017882
user1017882

Reputation:

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).

Upvotes: 6

Related Questions