I am setting up a new SDL Tridion environment and need to install the Razor Mediator (on both the Content Manager and Publisher servers).

I want to make sure that the environment that I am setting up is the same as the rest of the DTAP environments. Is there a way to determine which version of the Razor Mediator has been installed on these?

I know that it is either version 1.2 or 1.3 installed because of the inclusion of the import attribute in the configuration.

Here is the Razor section of the Tridion.ContentManager.config file from the Development server:

<razor.mediator cacheTime="60" extractBinaries="true" adminUser="DOMAIN\AdminUser">
        <!-- I've added the ... below for brevity -->
        <add import="/webdav/200 Global Design/.../System/Razor_Template_Functions.cshtml"/>

(In the 'Programs and Features' section of the Control Panel the version number is quoted as v1.0.0, but I know that this isn't correct.)

Thanks, Jonathan

  • Sounds like a bug in the razor mediator installer.
    – Dominic Cronin
    Aug 26 '13 at 13:32
  • Thanks Dominic. Alex's answer below resolved this for me. Aug 26 '13 at 17:42

You can check the version installed by looking at the configSections element in the Tridion.ContentManager.config file, at the section for the razor.mediator.

<section name="razor.mediator" type="Tridion.Extensions.Mediators.Razor.Configuration.RazorMediatorConfigurationSection, Tridion.Extensions.Mediators.Razor, Version=, Culture=neutral, PublicKeyToken=5eeceedb34d9dfd7" />

Alternatively, you could also look at the file directly in the GAC, which should be at:


  • Perfect - Thanks Alex. Both of these mechanisms confirmed that version 1.2 is installed. Mar 11 '13 at 15:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.