Publishing web application projects from Visual Studio

If you wish to use the Visual Studio Publish function (MSDeploy), we recommend installing Kentico projects with the web site configuration.The Kentico solution consists of multiple web application projects (CMSApp, CMSApp_AppCode, CMSApp_MVC). To use the Publish function of Visual Studio for Kentico web application projects, you need to publish all of the projects to the same target location to ensure that the solution works correctly.


After deploying the first project, make sure that your publish profile has the Delete all existing files prior to publish / Remove additional files at destination option disabled. You can configure the option in the Publish Web dialog in Settings -> File Publish Options.