title: Sitecore website needs to compile?
body: <p>I have been working for some time with sitecore. </p>
  
  <p>Since my arrival, I have been taking the existing projects as a reference and creating new projects.</p>
  
  <p>For Sitecore, we will have loads of folders and files for the website. We only need to create sublayouts (<code>*.ascx</code>) together with JavaScripts and CSS files.</p>
  
  <p>For those <code>*.ascx</code> files, I put them under <code>layouts/Project_Name/The_File_Name.ascx</code> and <code>layouts/Project_Name/The_File_Name.ascx.cs</code>.</p>
  
  <p>In a <code>*.ascx</code> file, I have the following.</p>
  
  <pre><code>&lt;%@ Control Language="c#" AutoEventWireup="true" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"  Inherits="Layouts.The_File_Name.The_File_NameSublayout" CodeFile="~/layouts/Project_Name/The_File_Name.ascx.cs" %&gt;
  </code></pre>
  
  <p>After finishing, I deploy the whole layout folder onto the production server.</p>
  
  <p>I will create a blank website on the production server and copy over the necessary files, mainly JavaScripts, CSS and <code>*.ascx</code> files.</p>
  
  <p>Yesterday, A Sitecore consultant suggested that I change from <code>CodeFile</code> to <code>CodeBehind</code> and compile them.</p>
  
  <p>I understand that if we create web application in Visual Studio, the system gives us <code>CodeBehind</code> and whenever we change, we need to compile. </p>
  
  <p>But if we create a web site, we don't need to compile. We can however, publish the site.</p>
  
  <p>My question is: what did the consultant mean? Do I need to compile the whole Sitecore website folder?</p>
  
  <p>If so, can I compile (build) the whole folder?</p>
  
  <p>And can I get the <code>*.dll</code> from it?</p>
  
  <p>So far, i have tried to compile 2 of my sites and I am getting this error</p>
  
  <blockquote>
    <p>Could not load assembly or file ChilkaDotNet2 or one of its dependencies</p>
  </blockquote>