'The viewmanager.activeview must be a view contained within the viewmanager.window profile' - C#