Open scaryterry opened 7 years ago
Are the embedded resources actually inside the dlls? You can check using ILSpy
Yes they are included from what I gather using ILSpy I'm uploading an example project that demonstrates the issue, In the archive you can find both the precompiled and normal published versions, as well as the project source. I used your own Mvc.JQuery.DataTables.Example as the base project since your own mvc.jquery.datatables has embedded views/scripts and expects the use of EmbeddedResourceVirtualPathProvider, so it's almost identical to my actual project.
Publishing a web app that has the Precompile during publishing option ticked, causes any embedded resources from other projects/dlls to be missing - tested with .cshtml, .css, .js files.
Another minor issue is with bundling, the {version} tag used for example by the default jquery bundle stops working as soon as EmbeddedResourceVirtualPathProvider is added to a project