title: How to define a MVC shared EditorTemplate in an external assembly?
body: <p>I'm trying to reuse shared templates in my MVC applications. For this, I use the Razor Generator VS Extension and I set RazorGenerator as the Custom Tool for my *.cshtml files. In my solution, I've created another MVC project (as described on <a href="http://razorgenerator.codeplex.com/" rel="nofollow">http://razorgenerator.codeplex.com/</a>) and therein, under Views/Shared/EditorTemplates I've defined a String.cshtml template.</p>
  
  <p>In my actual MVC app, I've added a reference to this project and in a view I try to do the following:</p>
  
  <pre><code> @Html.EditorFor(d =&gt; d.FeedName)
  </code></pre>
  
  <p>(FeedName being of type string). However, the String.cshtml does not get picked up.</p>
  
  <p>I've tried to set the Custom Tool Namespace of String.cshtml to use the same namespace like the actual app just to see if that would help, but it didn't.</p>
  
  <p>So, how can I tell the engine to pick up the editor template from another assembly?</p>