Search code examples
sitecoresitecore-rocks

Not able to add sublayout because of Sitecore Rocks


I am getting following error when I m trying to add a sublayout, after Installing Sitecore Rocks :

Error: this template attempted to load component assembly ‘Sitecore.Rocks.TemplateWizard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c9e2eeb5a3dd9908, processorArchitecture=MSIL‘. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

Please provide a solution.


Solution

  • Try to copy the assembly manually.

    • Open Bin folder of your webRoot (e.g. C:\Inetpub\wwwroot\Website\bin)
    • If the assembly is not in Bin folder, Go to "c:\Users[username]\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\" folder. Then, there would be some folders and find the assembly in one of folders.
    • Copy ”Sitecore.Rocks.TemplateWizard.dll” and paste it to “C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PublicAssemblies”