Importing from web site to web application projects

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

Due to differences in web site and web application project structures, import from one to another cannot be completed automatically. You need to take additional manual steps after the standard import procedure has completed in order for the imported site to run  properly in the web application environment.

 

1. All physical files that belong to the imported package have been placed into the ~/App_Data/CMSTemp/ImportExport/Files folder. Copy the contents of the folder into the root of your web application project.

 

 

 

Important!

 

It is highly recommended to make a backup of your project before overwriting any files!

 

 

2. Open the web project solution file (WebApp.sln) in Visual Studio from the web project directory.

 

3. If you added files that didn't exist in the project before the import, they need to be included in the project first. Click Project in the main menu and make sure the Show all files option is turned on. Locate the newly added files in the Solution Explorer. Select the files you wish to include one-by-one while holding the Ctrl key, then click Project > Include In Project in the main menu.

 

4. In the Solution Explorer, right-click the project node (CMSApp) and select Convert To Web Application.

 

5. Rebuild the solution.

 

Page url: http://devnet.kentico.com/docs/6_0/contexthelp/index.html?import_website_to_webapp.htm