Kentico 8 compile issue

Lucsa Han asked on March 28, 2019 01:01

I got a legacy Kentico 8 website in my local machine, and I could not make it recompile to update. e.g. I made changes in one of the CMSModuleLoader class that handles some document events. I can see all the old codes there are working perfectly exactly the new code I added. There a few more other changes in other files under App_Code folder. None of these changes were taken placed. And from the website load speed after the changes, it also looks like the site was not reompiling.

Is there any settings there to stop the site recompile automatically and how should I make the site get the updated code?

Recent Answers


Juraj Ondrus answered on March 28, 2019 08:01

Is the project a web site or web application project? The web site code is compiled on the fly - changes made in App_Code folder make the application restart so the load afterwards should be slower. You mentioned App_Code folder - so it should be web site project. However I have seen web application projects with this folder too (someone created it manually). If it is web application, there should be the Old_App_Code folder. In this case, after each code change you need to build the project e.g. in Visual studio.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.