-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Using .resx in .NET Core 1.1.0 is not working on Linux (Ubuntu 16.04) #1966
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @tarekgh on March 10, 2017 22:15 @deepak-khopade-isdr is this specific to asp.net or you cannot do it in general? |
Just tried with ASP.NET Web API and its not working; haven't tried in a class lib project. Any suggestions out there? |
From @davidfowl on March 11, 2017 22:12 @deepak-khopade-isdr What exactly doesn't work? What error do you get? |
No error, just returning not found. In my controller, I am trying to load the error message from .resx file and its just returning below:
Content in .resx file:
Have registered everything as expected in Startup.cs and have injected the |
Just FYI - when tried to see all string values under
|
From @tarekgh on March 13, 2017 15:29 @deepak-khopade-isdr could you please move this issue to the asp.net repo instead just to get quicker responses? Thanks. |
Alright... will do. Thanks. |
From @karelz on March 13, 2017 16:56 @tarekgh FYI: It's super-easy to move issues these days, even for us: https://github-issue-mover.appspot.com/ |
I think this a duplicate for issue aspnet/Localization#314, so please follow up with this aspnet/Localization#343 |
Yeah, I started responding on #1965, closing this as a dupe of that. |
From @deepak-khopade-isdr on March 10, 2017 20:8
Using .resx in .NET Core 1.1.0 is not working on Linux (Ubuntu 16.04) as per explained below. Have spent half of the day making it work, but seems not working on Linux.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization
Copied from original issue: dotnet/corefx#16985
The text was updated successfully, but these errors were encountered: