dotnet / dotnet/project-system

Implicit includes of resource files should include appropriate metadata

Open
#3,764 24 comments 4 reactions 1 assignee Claimed by @davkean View on GitHub
Feature-Project-File-Simplification Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

_From @dsplaisted on May 10, 2017 18:48_

Adding a .resx file to an SDK project using Visual Studio results in the following added to the project file:

```xml


True
True
Resource1.resx



ResXFileCodeGenerator
Resource1.Designer.cs


```

Ideally, nothing would be added to the project file when you add a .resx to the project. We may be able to do this in the SDK just by setting the appropriate metadata on the implicit `EmbeddedResource` items and the `Compile` items for `.Designer.cs` files.

_Copied from original issue: dotnet/sdk#1199_

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.