Template locations and project type

Posted by Community Admin on 03-Aug-2018 20:22

Template locations and project type

All Replies

Posted by Community Admin on 24-Sep-2010 00:00

The documentation "How_to_create_a_template_4.0_Beta.pdf" specifies that templates should go under ~/App_Data/Sitefinity/SiteTemplates/. However the project manager created projects and the sample project have ~/App_Data/Sitefinity/Websitetemplates. Which is correct?

The created projects are webapps - so any new items you create use the CodeBehind attribute. However all of the examples use CodeFile?

Also if I try and build the project from Visual Studio I start seeing runtime errors in the Admin section such as this:

Could not load file or assembly 'Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Posted by Community Admin on 25-Sep-2010 00:00

Hi 

Had the same issue, incorrect version of Telerik components was installed.
Make sure you are referencing the correct dll's version.

Telerik.Web.Design.dll
Telerik.Web.UI.dll

the correct version should be in this folder.
C:\Program Files\Telerik\Sitefinity SDK 4.0\Libraries 

This thread is closed