Skip to content

Remove InvariantGlobalization in templates#52428

Merged
eerhardt merged 1 commit intodotnet:mainfrom
eerhardt:Fix52319
Nov 29, 2023
Merged

Remove InvariantGlobalization in templates#52428
eerhardt merged 1 commit intodotnet:mainfrom
eerhardt:Fix52319

Conversation

@eerhardt
Copy link
Copy Markdown
Member

These entries were missed in #48238. InvariantGlobalization should only be set when the template is created for native AOT. That is the way it is for the worker and grpc templates already. These templates don't support AOT.

Fix #52319

We should also fix this in 8.0.

These entries were missed in dotnet#48238. InvariantGlobalization should only be set when the template is created for native AOT. That is the way it is for the worker and grpc templates already. These templates don't support AOT.

Fix dotnet#52319
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Nov 28, 2023
@eerhardt eerhardt merged commit efd0931 into dotnet:main Nov 29, 2023
@eerhardt eerhardt deleted the Fix52319 branch November 29, 2023 16:20
@ghost ghost added this to the 9.0-preview1 milestone Nov 29, 2023
eerhardt added a commit to eerhardt/aspnetcore that referenced this pull request Nov 29, 2023
These entries were missed in dotnet#48238. InvariantGlobalization should only be set when the template is created for native AOT. That is the way it is for the worker and grpc templates already. These templates don't support AOT.

Fix dotnet#52319
@julielerman
Copy link
Copy Markdown

Please yes fix this in 8! It will be so painful for newbies and experienced people alike (who have to head to google when the error throws) as I'm discovering while building demos. Thanks!!

@ghost
Copy link
Copy Markdown

ghost commented Dec 11, 2023

Hi @julielerman. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context.

@eerhardt
Copy link
Copy Markdown
Member Author

Please yes fix this in 8! It will be so painful for newbies and experienced people alike (who have to head to google when the error throws) as I'm discovering while building demos. Thanks!!

FYI - the PR to fix it in the 8.0 servicing branch is #52461. It is approved and will be merged when the branch opens again.

@ghost
Copy link
Copy Markdown

ghost commented Dec 11, 2023

Hi @eerhardt. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context.

wtgodbe pushed a commit that referenced this pull request Jan 3, 2024
These entries were missed in #48238. InvariantGlobalization should only be set when the template is created for native AOT. That is the way it is for the worker and grpc templates already. These templates don't support AOT.

Fix #52319
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ASP.NET Core WebAPI includes InvariantGlobalization setting in .csproj in .NET 8 but is not stated as a change.

3 participants