I’m targeting .Net 4.0 but using VS2012 to support my existing projects. We use commands all over the place for binding in WPF.
It seems the System.Windows namespace is totally missing from the System.dll when I explore it in the External Dependencies.
Am I missing something vital here?
That’s accurate, that namespace is only present in WPF assemblies. You’ll need to add a reference to PresentationCore. You’d better add a reference to other common ones as well, just in case, PresentationFramework, WindowsBase and System.Xaml.