Open tafs7 opened 3 years ago
@tafs7 could you solve it since? I'm in the same boat...
Sorry, @nvirth . I moved on to other projects since then. I think just ended up designing a new approach and refactoring the code a bunch, but don't recall the details and no longer have access to that codebase.
Is there any way to programmatically render the tag helpers (e.g. from a custom base
RazorPage<T>
type with the final bundle name and version appended?I am porting some code that used to rely on this from old school MVC and the
System.Web.Optimization
inside a method on a custom baseWebViewPage<T>
:And it does this several times with different bundles that it appends together based on some
ViewBag
booleans.This is used by several views, all inheriting from this custom base type.
Not sure how to work around this or if there's a better approach to this.