title: When I try to Publish it gives error: "could not find file" for most .xml files
body: <p>I am trying to publish my .Net MVC project and when I try to do this I get an error mentioning:</p>
  
  <blockquote>
    <p>Error    1   Copying file bin\Newtonsoft.Json.xml to obj\Release\Package\PackageTmp\bin\Newtonsoft.Json.xml failed. Could not find file 'bin\Newtonsoft.Json.xml.</p>
  </blockquote>
  
  <p>and this error comes for almost all </p>
  
  <blockquote>
    <p>.xml</p>
  </blockquote>
  
  <p>files in my bin, like: </p>
  
  <blockquote>
    <p>System.Web.MVC.xml, System.Web.Helpers.xml, System.Web.Razor.xml,
    System.Web.WebPages.Deployment.xml</p>
  </blockquote>
  
  <p>I found something relating  [here]:<a href="https://stackoverflow.com/questions/6903337/build-succeeds-but-publish-fail">Build succeeds, but publish fails</a></p>
  
  <p>but couldn't really understand the solution.And yes I am using git hub
  Can anyone help?</p>
  
  <p>Thanx in advance....</p>