ASP.NET using embedded resources in Bundling
问题 I'm trying to implement a generic approach for providing the possibility for different assemblies in my web solution to use embedded JavaScript and CSS files from embedded resources. This blog post shows a technique using a VirtualPathProvider. This works fine, but the VirtualPathProvider needs to be included in each assembly containing embedded resources. I tried to enhance the VirtualPathProvider from the blog post, so that an assembly can be passed into it and it loads the resource from