dotnet / dotnet/project-system

New Resource File with locale code results in non-actionable error

Open
#2,741 3 comments 0 reactions 0 assignees View on GitHub
Parity-Legacy-API Parity-Legacy-Feature Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Based on [VSFeedback](https://developercommunity.visualstudio.com/content/problem/100404/resources-files-on-a-net-standard-20-project-false.html) | [484424 ](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/484424)

**Repro Steps:**
- Create a .NET Core project
- Select Project | Add New Item | Resources File. Name the file `Strings.en-us.resx` or substitute some other locale code for `en-us`

**Expected**
No Errors

**Actual**
Error list contains an error, and the corresponding *.designer.cs file is not generated. However, build is successful.
![image](https://user-images.githubusercontent.com/7732033/29763333-837be02e-8b87-11e7-8de4-b00a0236e5dc.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.