Sitecore website needs to compile?

gato

New Member
I have been working for some time with sitecore. Since my arrival, I have been taking the existing projects as a reference and creating new projects.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.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\].In a \[code\]*.ascx\[/code\] file, I have the following.\[code\]<%@ 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" %>\[/code\]After finishing, I deploy the whole layout folder onto the production server.I will create a blank website on the production server and copy over the necessary files, mainly JavaScripts, CSS and \[code\]*.ascx\[/code\] files.Yesterday, A Sitecore consultant suggested that I change from \[code\]CodeFile\[/code\] to \[code\]CodeBehind\[/code\] and compile them.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. But if we create a web site, we don't need to compile. We can however, publish the site.My question is: what did the consultant mean? Do I need to compile the whole Sitecore website folder?If so, can I compile (build) the whole folder?And can I get the \[code\]*.dll\[/code\] from it?So far, i have tried to compile 2 of my sites and I am getting this error\[quote\] Could not load assembly or file ChilkaDotNet2 or one of its dependencies\[/quote\]
 
Back
Top