title: 'Could not find file hibernate.cfg.xml' when running after publish my application
body: <p>I've 2 problem.</p>
  
  <p>My application is WPF c# app that us MS Access as a database (.dbm file) and NHibernate for connecting.</p>
  
  <p>The first problem is after publishing my app, getting exe file and installing my app, I tried to run the application by I got an exception that it could not find file hibernate.cfg.xml. However, the app worked fine if I run through Visual Studio. That config file is in the same folder of class that call configuration.</p>
  
  <p>In addition, I'm not sure whether my publish method is correct. To publish my WPF app, at the solution explorer I right clicked main project > publish > then follow several steps and end by click 'finish. I haven't seen any config file appear in the publish floder which I expect to see because I want to allow the user to be able to config the path of his database (.dbm file) later. Then this is the second problem.</p>