I would like to use the configuration transform on the Styles.xaml ResourceDirectory. I want to be able to change the appearance based on the configuration. If it is deploy, one set of fonts and colors and anything else another set for fonts and colors.
Here is how I started...
<ResourceDictionary xmlns="...schemas.microsoft.com / winfx / 2006 / xaml / presentation"
... xmlns:xdt="..schemas.microsot.com / XML-Document-transform "
xdt:Transform="Replace"
mc:Ignorable="d">
<Style TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="20" />
</Style>
<Style TargetType="{x:Type TabPanel}">
<Setter Property="Background" Value="AliceBlue" />
</Style>
....
</ResourceDictionary>
I am getting the following error on the xdt:Transform="Replace":
"The property 'Transform' was not found in type 'ResourceDictionary'"
Is it possible to transform something other than a config file?