Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Precompiled project not working #40

Open
scaryterry opened this issue Sep 26, 2017 · 2 comments
Open

Publish Precompiled project not working #40

scaryterry opened this issue Sep 26, 2017 · 2 comments

Comments

@scaryterry
Copy link

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

@mcintyre321
Copy link
Owner

Are the embedded resources actually inside the dlls? You can check using ILSpy

@scaryterry
Copy link
Author

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.

Example.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants