Skip to content

DotNet Core 3.1 - Resources Files no longer being resolved. #4962

@owlyowl

Description

@owlyowl

Steps to reproduce

Please see dotnet/corefx#42209 (comment)

I've upgraded a DotNet Core 3.0 project to 3.1 and explicitly set build version in global.json and in the csproj files to make sure everything is built to the same target.

  1. Open sln.
  2. Clean & build
  3. From cli dotnet run
  4. Attach debugger and open site
  5. Observe LocalisationController.cs line 67 - resourceManager.GetResourceSet(CultureInfo.GetCultureInfo("en-US"), true, true) throws

Previously in 3.0 ResX files were being resolved correctly, now they're not able to be loaded in.
Here's the ILSpy:
image

Referred to here by Eric StJohn,

Can someone please let me know what email address would be best to share a repo with?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions