Skip to content

Localization shared resources cs file should be able to live outside of root  #23051

@Ponant

Description

@Ponant

I used to have a website with .Net Core 2.0 that had the cs SharedResources.cs and associated resx files all under a custom folder "Myresources", and it worked well. Now it seems that the cs file needs to be moved out of the "MyResources" folder and put in the root, see this PR #19905 .
To me this causes two issues:

  1. Documentation should be updated and it is yet not clear what should be done (I lost a day on that)
  2. Link to the issues below and coordinate with the sdk team (?)
  3. Imposing the user to put the shared resource file at the root of the folder is a loss of flexibility and not so tidy in my opinion; it was better before

I still do not understand what is going on, eventhough I made it work following the PR above.

Related issues for coordination
dotnet/aspnetcore#12412
dotnet/aspnetcore#17960
dotnet/docs#16964


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions