Trigger TagHelper from another TagHelper
问题 I would like to trigger the stock ScriptTagHelper (view source on GitHub) so that it would emulate the asp-append-version="true" attribute. I know that the proper way to use this is to just change from this: <script src="somefile.js"></script> to this: <script src="somefile.js" asp-append-version="true"></script> This process is very similar for versioning CSS includes and images ( LinkTagHelper and ImageTagHelper ). Since I have a lot of included scripts, stylesheets, and images, I would