title: Why Visual Studio 2010 publish website with source code?
body: <p>I'm using Visual Studio 2010 with the new website publish dialog. I have a Web Application website. When published, in theory it should compile all the code into an single assembly. However, in both <code>Debug</code> and <code>Release</code>, after publishing the directory always contains source code of page and user controls (even with the untransformed web.config files Web.Debug.config and Web.Release.Config). This is very confusing.</p>
  
  <p>But with <code>package/publish web</code> project configuration and <code>Generate Deploy package</code> context menu item, the Package\PackageTmp directory is clean.</p>
  
  <ul>
  <li>Why doesn't Visual Studio use this Package to publish the website?</li>
  <li>Where is the precompile option?</li>
  <li>Web.config xml transform seems not work, why does Visual Studio bring this feature to confuse me?</li>
  </ul>