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

Guidance on deployment to virtual directory #961

MiniverCheevy opened this Issue May 20, 2017 · 2 comments


None yet
3 participants

MiniverCheevy commented May 20, 2017

It would be nice to have some guidance (or command line options) to bundle the application for deployment to a virtual directory off of the site root. I've had some luck with the HTML webpack plugin, but am still having some issues getting my webpacked MDI icons to resolve properly.


This comment has been minimized.

ADefWebserver commented May 21, 2017

I have been able to get my application to work in Dev (off the root) and in production (in a virtual directory off the root) by simply opening the file at Views/Shared/_Layout.cshtml and change the base href to the following:

<base href="~/" />

See: Implementing PrimeNG FileUpload in a .Net Core Application


This comment has been minimized.


SteveSandersonMS commented May 22, 2017

I've now added @ADefWebserver's dynamic <base> element to all the templates in the dev branch, so hopefully this gets people closer.

If there are other specific bugs that anyone's encountering, could you report them with exact details on what you regard to be the bug? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment