title: How to add tag helpers from plugins?
body: <p>I want to add tag helpers from plugins.<br>
  Something like this in _ViewImports.cshtml:</p>
  
  <pre><code>@addTagHelper *, *.MyApp.*
  </code></pre>
  
  <p>That is, take all assemblies, whose name matches pattern <em>.MyApp.</em>, and add type helpers from these assemblies.</p>
  
  <p>I know, that <code>@addTagHelper</code> can't do this out-of-box. But is there any extension point here?</p>
  
  <p>I've found <a href="http://darrelltunnell.net/blog/2016/07/25/aspnet-core-taghelper-s-a-better-addtaghelper-type-resolver/" rel="nofollow noreferrer">this</a> post about <code>ITagHelperTypeResolver</code>, but it looks like this API does not exists in ASP NET Core 2+.</p>
  
  <p>There are two reasons for why I just can't use standard syntax:</p>
  
  <ul>
  <li>this is plugin-based application (tag helpers can be defined inside plugins);</li>
  <li>assembly names are built dynamically. All of my project import some shared MSBuild settings, and for project named "MyApp.Foo" assembly name will be "MyCompany.MyApp.Foo".</li>
  </ul>