Skip to content

Razor Components do not include embedded resources from assemblies #7310

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

Closed
DNF-SaS opened this issue Feb 6, 2019 · 2 comments
Closed

Razor Components do not include embedded resources from assemblies #7310

DNF-SaS opened this issue Feb 6, 2019 · 2 comments
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue

Comments

@DNF-SaS
Copy link

DNF-SaS commented Feb 6, 2019

Just upgraded a project to Razor Components from Blazor 0.7
Unfortunately, it depends on CSS/JS-Files located in a separate assembly.
With Blazor, after declaration of these CSS/JS-Files as embedded resource with a certain name (blazor:js:** and blazor:css:**), they were packed and referenced automagically by blazor.
After migraton to Razor Components, this functionality seems to be not available any more (at least, the resources are not shipped to the browser any more)
What must be done to make inclusion of JS/CSS from separate assemblies work again?

Thanks!

@muratg muratg added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Feb 6, 2019
@vertonghenb
Copy link
Contributor

Duplicate of #6349

@mkArtakMSFT
Copy link
Contributor

Closing as this is indeed a duplicate.

@mkArtakMSFT mkArtakMSFT added ✔️ Resolution: Duplicate Resolved as a duplicate of another issue area-blazor Includes: Blazor, Razor Components labels Feb 7, 2019
@mkArtakMSFT mkArtakMSFT removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels May 9, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants