Class library does not recognize CommandManager class
I'm developing WPF applications and I want to reuse my classes that are the same in all those applications so I can add them as a reference. In my case I have a class for my Commands: public class RelayCommand : ICommand { #region Fields readonly Action<object> _execute; readonly Predicate<object> _canExecute; #endregion // Fields #region Constructors public RelayCommand(Action<object> execute) : this(execute, null) { } public RelayCommand(Action<object> execute, Predicate<object> canExecute) { if (execute == null) throw new ArgumentNullException("execute"); _execute = execute; _canExecute =