Sitecore.Rocks.TemplateWizard, Version=0.7.0.0, Culture=neutral, PublicKeyToken=c9e2eeb5a3dd9908, processorArchitecture=MSIL

Challenge:

If you are getting following error, after Installing Sitecore Rocks and it is stopping you from Rocking your Sitecore, then this post is for you!

Error: this template attempted to load component assembly ‘Sitecore.Rocks.TemplateWizard, Version=0.7.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.

Solution:

Root cause : when Sitecore Rocks starts, it copies the Sitecore.Rocks.TemplateWizard.dll assembly to:

<Program Files (x86)\ Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies

they need to do this to work around security in Visual Studio when creating files using the Add New Item dialog.

Try copying the assembly manually and see if the works. Steps as follows:

1. Open your webroot (e.g. C:\Inetpub\wwwroot\SND\Website\bin)

2. Copy ” Sitecore.Rocks.TemplateWizard.dll” and paste it to “C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies

3. That’s it! 🙂

Possible causes:

  1. Rocks does not have permission to copy the dll to PublicAssemblies.
  2. PublicAssemblies are not located where they think it is – possibly because the machines are running 32-bit.
  3. The user does not have execute permission in PublicAssemblies.

Thank to Urvesh for sharing this solution!

Happy Sitecore Rocking! 🙂

8 thoughts on “Sitecore.Rocks.TemplateWizard, Version=0.7.0.0, Culture=neutral, PublicKeyToken=c9e2eeb5a3dd9908, processorArchitecture=MSIL

  1. Pingback: My Notes on Sitecore CMS Advanced .NET Developer (AND) « Sitecore basics!

  2. Abhishek Shrivastava

    I had a similar issue when I used Sitecore Rocks in VS 2012. When I tried to add speak component, I got “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.”.

    I did clean install of Sitecore Rocks, but that didn’t help either. It turned out despite reinstalling the Sitecore Rocks, the version of Sitecore.Rocks.TemplateWizard was 0.7.x.x

    I managed to resolve the issue by replacing the Sitecore.Rocks.TemplateWizard.dll (version 0.7.x.x) with the new version of dll (version 1.1.0.0 ) from my colleague who had no issues like me.

  3. Nikki Punjabi

    If you are using VS2013 you will get similar error. So for that you have to copy Sitecore.Rocks.TemplateWizard.dll file from C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PublicAssemblies and paste it at C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PublicAssemblies

    This resolved my issue.

  4. vidya

    Hi,

    I have tried out all the above mentioned solutions for this error , still its not getting resolved. Please help.I m using vs 2013

Leave a comment