Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to import razor template even after placing import settings #7

Open
GoogleCodeExporter opened this issue Jul 3, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

We have placed the below in Tridion.config file :
<razor.mediator cacheTime="60" extractBinaries="true" 
adminUser="ADS\svc.icmsyse1">
    <namespaces>
      <!-- <add namespace="System.Linq" />-->
      <!-- <add namespace="Test.Sample" />-->
    </namespaces>
    <assemblies>
      <!-- <add assembly="C:\Program Files\Assembly\Test.Sample.dll" /> -->
      <!-- <add assembly="RazorSample.Test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=60ad7434f03dfcdc" /> -->
    </assemblies>
    <imports>
      <!-- <add import="tcm:120-2233-2048" />-->
      <!-- <add import="/wevdav/020 Design/Building Blocks/System/TBBs/Helpers/razor-helpers.cshtml" />-->
      <!-- <add import="C:\Program Files\Razor Mediator\razor-helpers.txt" />-->
      <!-- <add import="tcm:120-2200-2048" publications="020 Design Master,030 Another Web Design" />-->
    </imports>
    <importSettings includeConfigWhereUsed="true" includeImportWhereUsed="true" replaceRelativePaths="false" />


What steps will reproduce the problem?
1. We are using @importRazor(path) , here the path we are using is webdav path 
of another razor template building block
2. Then the TBB used in import statement is not imported
3.

What is the expected output? What do you see instead?
TBB used in importRazor function should be imported

What version of the product are you using? On what operating system?
We are using SDL Tridion 2011 and WINDOWS 64 bit


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 20 Mar 2013 at 5:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant