-
Notifications
You must be signed in to change notification settings - Fork 23
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
Incorrect static web assets integration #63
Comments
Hi @Junjun-zhao, https://www.nuget.org/packages/Toolbelt.Blazor.I18nText/13.0.0#releasenotes-body-tab This version will work with the .NET 9 SDK Preview. Please remember that it is still buggy, especially with the hot-reload, but it will work at least if you rebuild a Blazor project whenever the localized source text files are updated. |
Thanks @jsakamoto for your update. |
Hi @javiercn, I followed your advice but encountered a problem in the particular case. So, I logged it to an issue: dotnet/sdk#43120. Could you look into that logged issue? I really appreciate any help you can provide. |
Right now this package integrates as follows:
This is problematic because it breaks every time properties are added to static web assets in the SDK on newer versions. If you are generating assets as part of the build, you should instead do something like the snippet below to let static web assets define all the metadata based on the content provided as if it was any other file in the project. This way when we add new metadata your package won't break the pipeline.
The text was updated successfully, but these errors were encountered: