I am trying to write an extension method for the WPF Window class. I am doing it in a class library project in my solution, so that I can use it in all my projects in the s
Add PresentationFramework.dll reference to your project it contains the System.Windows namespace.
PresentationFramework.dll
System.Windows
http://msdn.microsoft.com/es-es/library/system.windows.window(v=vs.110).aspx