Question: iqueryambient is defined in an assembly?
Answer: IQueryAmbient' is defined in an assembly that is not referenced. You must add a reference to assembly 'System. ... This type has been forwarded to assembly 'System. Xaml, Version=4.0. 0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ Consider adding a reference to that assembly.