I recently upgraded to VS 2012, I needed to start using .net 4.5, but this is not relevant. My problem is this:
I have a ResourceDictionary in my main project called AppStyles.xaml , and in App.Xaml I have the following:
<ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="AppStyles.xaml"/> <ResourceDictionary.MergedDictionaries> </ResourceDictionary>
There is a style in my ResourceDictionary , and I could apply this style to any button in any of my projects by setting Style={StaticResource MyButton} .
After upgrading to VS 2012, I noticed that I get an error in the name a lot, and sometimes it prevents me from debugging, and sometimes not!
Is there any other way I have to do this or is there a problem in VS 2012?
source share