In my App.xaml code, I have the following code:
<Application x:Class="PcgTools.App" ... <Application.Resources> <ResourceDictionary> ... <res:Strings x:FactoryMethod="res:StringResourceHelper.GetStringResources" x:Key="LocStrings"/> </ResourceDictionary> </Application.Resources> </Application>
I received an error from the VS2012 compiler before using the FactoryMethod or Attribute construct. But now I get the error: the Xaml2009 language construct is not allowed here.
How to fix it?
wpf visual-studio-2012 xaml
Michel Keijzers Jan 15 '13 at 21:23 2013-01-15 21:23
source share