Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Gate warnings for localization asset locales on TFM >= 7 #28060

Merged

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Sep 20, 2022

Description

In #26729 we introduced a new warning to .NET 7 SDKs around inconsistent locale casing for resources found in NuGet packages, but we did not gate that warning on a TFM change. This means that users that work on case-insensitive file systems are very likely to start hitting the new warning on an SDK update, instead of a TFM update. We want to not do that so that we encourage folks to update SDKs as soon as they come out. We have had reports of a couple of internal customers

Regression

No, instead we want to change the default. I suppose you could call it a user-experience regression?

Risk

Low, this uses existing patterns to check an already-available piece of data.

Testing

  • manual testing
  • automated tests to cover the matrix of TFM versions and error codes we added

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@baronfel baronfel changed the title gate warnings on TFM > 7 Gate warnings for localization asset locales on TFM >= 7 Sep 20, 2022
@baronfel baronfel added this to the 7.0.1xx milestone Sep 21, 2022
@baronfel baronfel self-assigned this Sep 21, 2022
@baronfel baronfel marked this pull request as ready for review September 21, 2022 13:51
@baronfel baronfel requested a review from a team September 21, 2022 14:56
@baronfel
Copy link
Member Author

Approved via email

@baronfel baronfel merged commit 65eb37a into dotnet:release/7.0.1xx-rc2 Sep 21, 2022
@baronfel baronfel deleted the guard-asset-locale-check-on-tfm branch September 21, 2022 23:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants