-
Notifications
You must be signed in to change notification settings - Fork 554
[msbuild] Emit binding resources to the EmbeddedResource item group instead of ManifestResourceWithNoCulture. Fixes #3876. #9525
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
Conversation
…nstead of ManifestResourceWithNoCulture. Fixes dotnet#3876. Fixes this warning: warning MSB9004: ManifestResourceWithNoCulture item type is deprecated. Emit EmbeddedResource items instead, with metadata WithCulture='false', Type='Resx', and optional LogicalName. There is a slight difference with regards to the warning message: the Type metadata is set to 'Non-Resx' instead of 'Resx' (because these resources aren't resx files). Fixes dotnet#3876.
|
Build failure Test results3 tests failed, 93 tests passed.Failed tests
|
spouliot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
Test failures are unrelated
|
chamons
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
|
|
||
| Assert.False (logs.Item1.Contains ("CS1685"), "Binding should not contains CS1685 multiple definition warning:\n" + logs.Item1); | ||
|
|
||
| Assert.False (logs.Item1.Contains ("MSB9004"), "Binding should not contains MSB9004 warning:\n" + logs.Item1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know we all use english. But if we have a bot configured to spanish and we land translations, we are going to have issues :/
Nothing really to be changed in this PR, but I've got the feeling this is going to hit us in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have about a million of these in mmp/msbuild ios-msbuild tests.
If nothing else, we can use environmental variables to force language to test this (and hopefully translation as well).
Fixes this warning:
There is a slight difference with regards to the warning message: the Type
metadata is set to 'Non-Resx' instead of 'Resx' (because these resources
aren't resx files).
Fixes #3876.