<p>I'm using a deploy project to deploy my ASP.net web application.
When I build the deploy project, all the .compiled files are re-created.</p>

<p>Do I need to FTP them to the production web server?<br>
If I do a small change do I need to copy all the web site again?</p>

[{'answer_id': 59247, 'author': 'Joel Coehoorn', 'author_id': 3043, 'author_profile': 'https://Stackoverflow.com/users/3043', 'pm_score': -1, 'selected': False, 'text': "<p>There's nothing special about .compiled files: it's just the actual file with a .compiled extension on the end so that nothing happens if you accidentally double click it.  </p>\n\n<p>But if you're seeing .compiled files, you're publishing your app in such a way that it expects to be formally installed- it's not enough to just copy things to production.  You have to run the installer program too.  If this is an app you know is already deployed, that seems a bit unnecessary.</p>\n"}, {'answer_id': 63770, 'author': 'Eduardo Molteni', 'author_id': 2385, 'author_profile': 'https://Stackoverflow.com/users/2385', 'pm_score': 4, 'selected': True, 'text': '<p>From my own research, the .compiled files must be copied to the production server, but not needed to copied every time</p>\n\n<p>from <a href="http://www.west-wind.com/" rel="noreferrer">Rick Strahl</a> excellent blog:</p>\n\n<blockquote>\n  <p>The output from the merge utilitity\n  can combine all markup and CodeBeside\n  code into a single assembly, but you\n  will still end up with the .compiled\n  files which are required for ASP.NET\n  to associate the page requests with a\n  specific class contained in the\n  assembly. However, because the file\n  names generated are fixed you don’t\n  need to update these files unless you\n  add or remove pages. In effect this\n  means that in most situations you can\n  simply update the single assembly to\n  update your Web.<br>\n  <a href="http://www.west-wind.com/presentations/AspNetCompilation/AspNetCompilation.asp" rel="noreferrer">Source</a></p>\n</blockquote>\n'}, {'answer_id': 2142674, 'author': 'Bob', 'author_id': 45, 'author_profile': 'https://Stackoverflow.com/users/45', 'pm_score': 0, 'selected': False, 'text': '<p>You can get rid of the <code>.compiled</code> files by using the <a href="http://msdn.microsoft.com/en-us/library/bb397866.aspx" rel="nofollow noreferrer">aspnet_merge</a> tool with the <code>-r</code> option. </p>\n\n<blockquote>\n  <p>Removes the .compiled files for the main code assembly (code in the App_Code folder). Do not use this option if your application contains an explicit type reference to the main code assembly.</p>\n</blockquote>\n'}]
['https://Stackoverflow.com/questions/59191', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2385/']