Search code examples
xamlwindows-8windows-runtimewinrt-xamlwindows-store-apps

How to use the Common/StandardStyles in a C# WinRT project?


I'm working on a WinRT project in C#

I wanted to use things like: {StaticResource EditAppBarButtonStyle} this is defined in Common/StandardStyles.xaml

but when I try to compile my project I get the error that the resource could not be resolved. I guess I need to add the Common/StandardStyles.xaml but I dont know how


Solution

  • Solution: I just needed to remove the <!-- ... --> in the Common/StandardStyles.xaml