Skip to content

Conversation

@rolfbjarne
Copy link
Member

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 #3876.

…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.
@rolfbjarne rolfbjarne added not-notes-worthy Ignore for release notes run-msbuild-tests Run the (iOS) msbuild tests labels Aug 27, 2020
@monojenkins
Copy link
Collaborator

Build failure
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
🔥 Test run failed 🔥

Test results

3 tests failed, 93 tests passed.

Failed tests

  • dont link/iOS Unified 64-bits - simulator/Debug [dotnet]: Failed
  • dont link/iOS Unified 64-bits - simulator/Release [dotnet]: Failed
  • monotouch-test/watchOS 32-bits - simulator/Debug: Failed Known issue: HE0038)

Copy link
Contributor

@spouliot spouliot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rolfbjarne
Copy link
Member Author

Test failures are unrelated

Copy link
Contributor

@chamons chamons left a 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);
Copy link
Contributor

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.

Copy link
Contributor

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).

@rolfbjarne rolfbjarne merged commit 62cd531 into dotnet:main Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not-notes-worthy Ignore for release notes run-msbuild-tests Run the (iOS) msbuild tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[msbuild] warning MSB9004: ManifestResourceWithNoCulture item type is deprecated.

6 participants