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

When using resx as a localized resource file, it cannot be published in browser mode, and an error message will be displayed: Can't find the original satellite assembly in the list of resolved files to publish for asset #17824

Closed
xuxiaokang0723 opened this issue Dec 24, 2024 · 3 comments
Labels
by-design The behavior reported in the issue is actually correct. os-browser

Comments

@xuxiaokang0723
Copy link

Describe the bug

image

To Reproduce

image
The actual resource file is in this directory

Expected behavior

No response

Avalonia version

11.2.2

OS

WebAssembly

Additional context

No response

@timunie
Copy link
Contributor

timunie commented Dec 27, 2024

See #15223

@timunie timunie added by-design The behavior reported in the issue is actually correct. os-browser and removed bug labels Dec 27, 2024
@timunie timunie closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2024
@xuxiaokang0723
Copy link
Author

See #15223

I did solve the problem of not being able to use resx in WASM according to the above solution, but now it is a new problem. It is normal to compile and run in VS. When I need to publish the wasm project, it will always report an error and cannot be published.

@xuxiaokang0723
Copy link
Author

See #15223

Now the problem is not that it cannot be used, but that it cannot be published. I created a new cross-platform project. When I added the Resx resource file and executed "dotnet pulish", it would report the error I showed in the screenshot above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by-design The behavior reported in the issue is actually correct. os-browser
Projects
None yet
Development

No branches or pull requests

2 participants