title: How do I make an XML file an embedded resource in a vNext (ASP.NET 5) class library?
body: <p>I have an MVC 6 (vNext/ASP.NET 5) project, with one class library for the DAL(Data Access Layer). Now I am getting an exception because NHibernate can't find the mapping file for an entity I am trying to persist. I have seen strict instructions to mark this XML mapping file as an <strong>embedded resource</strong> and not to copy to output, but in none of the three property pages I manage to open for this file, is there anywhere to stipulate this.</p>
  
  <p>I am simply going to move to code-based fluent mapping, but this issue isn't unique to my one NHibernate mapping file. The old property page for project items, available by right click in Solution Explorer, is simply gone. I am hoping that if such a thing as an embedded resource still exists, it is somewhere else, like <code>project.json</code>, that we must specify this.</p>