title: Publish a Web Site project so that it creates a .dll and not .aspx.cs files
body: <p>I have inherited an old web forms app.  I didn't get a project or a solution, just the source code.  In Visual Studio, I tried to make a web app from it, but could not get that to work. So I just made a website project instead.</p>
  
  <p>In this folder to which I am publishing, I expected to only have the .aspx files with a .dll in the bin. But instead I got no .dll, and it created files for all of the .aspx.cs files.</p>
  
  <p>I poked around in the properties ('Use fixed naming and single page assemblies', etc) but no luck.</p>
  
  <p>What do I need to do?</p>
  
  <p>(It's possible this is a duplicate, but I've been unable to find answers in any similar posts.)</p>