title: WPF - Copying resources on publishing
body: <p>I'm developing an WPF application that has an reference of a C# Class Library.
  That C# Class Library has a few XML files that i'm copying to output as embed resources.</p>
  
  <p>When i debug the WPF application, those XML are copied to debug folder of WPF and the app runs properly.
  But when i publish the application i get errors because the application isn't finding the resources.</p>
  
  <p>I must admit i'm just now introducing to WPF, so i haven't understand yet the process of publishing and installing the application.</p>
  
  <p>Those XML files should be published by VS in "Aplication Files" folder of the published folder? If yes, what i'm i doing wrong?</p>
  
  <p>By the way, i'm accessing those files in my code (of C# Class Library) from <strong>AppDomain.CurrentDomain.BaseDirectory</strong></p>
  
  <p>Thanks</p>