Within my WPF project I came across a problem where if I tried to reference a window (wpf) then it would