Should be simple but i can’t seem to find the answer
I am trying to make a custom ControlTemplate that uses VisualStateManger. MSDN says to include
xmlns:vsm=”clr-namespace:System.Windows;assembly=System.Windows”
However, it says that i am missing a reference to the assembly. So i try to add it but can’t find System.Windows assembly under the .NET tab to add it. What am i missing?
Thanks
You need a reference to
PresentationFramework.dll(from VisualStateManager documentation).You’ll also need to make sure that you’re targetting .NET 4.0, not 3.5sp1.
VisualStateManagerwas added to WPF in .NET 4.