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

Embedded Resources in H5? #83

Open
Riccsson opened this issue Apr 5, 2023 · 0 comments
Open

Embedded Resources in H5? #83

Riccsson opened this issue Apr 5, 2023 · 0 comments

Comments

@Riccsson
Copy link

Riccsson commented Apr 5, 2023

When I used Bridge.NET, in a shared project, some resource files has "Build Actions" as "Embedded Resuorces" and I could load it into a stream.

In H5 with same settings, I can not load it into a stream, there is no resources found. Is there some settings I have missed?

In Meta.js files in Bridge.net it looks like this:
Bridge.assembly("SharedProjectBridge", {"SharedProjectBridge.Resources.Fonts.char_0.sfont":"BVNG...

But in H5 Meta.js, there is no embedded json data at all:

H5.assemblyVersion("SharedProjectH5","1.0.0.0");
H5.assembly("SharedProjectH5", function ($asm, globals) {
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

1 participant