I have the following project structure:
Library1 <--[project reference]-- Library2 <--[ref]-- Executable -------- --------
Could be that you reference Library1 only from an XAML file in that case Visual Studio dont recognice the usage. Add a reference in code as well e.g. by applying the name attribute