title: How can I generate a XAML WPF document to be printed from a web service?
body: <p>I have a XAML WPF control that I populate with data and then allow the users to print from our WPF application.  </p>
  
  <p>Now we need the ability to populate and print the same document from a (headless) web service.</p>
  
  <p>I tried adding our WPF project as a reference in (weak) hopes that it might just work, but visual studio acts like it can't find the assembly (yellow warning icon on the reference, and it can't find the relevant namespaces when compiling), even though it takes me successfully to the object explorer for the assembly when I double click on it.</p>
  
  <p>I would rather not just launch a GUI exe from a service.  I would prefer doing the processing headless if at all possible.</p>
  
  <p>Has anyone done this?</p>