dotnet / dotnet/project-system
Resource files in shared projects not showing up in Solution explorer when they have a "Link" attribute
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
**Visual Studio Version**: Latest 16.6 dogfood build
**Summary**:
See https://github.com/dotnet/roslyn/blob/9c0370c35ef9a201aabd3e13153116b1f339c90a/src/Analyzers/Core/Analyzers/Analyzers.projitems#L11-L13:
```
```
NOTE: Link attribute was added to the EmbeddedResource to work around https://github.com/microsoft/msbuild/issues/5137.
**Steps to Reproduce**:
1. `git clone https://github.com/dotnet/roslyn.git`
2. `cd roslyn`
3. `git checkout 9c0370c35ef9a201aabd3e13153116b1f339c90a`
4. `restore`
5. `Roslyn.sln`
6. Expand the shared project `Analyzers.shproj` under `Features\Analyzers` folder.
**Expected Behavior**: This shared project contains an embedded resource file, which should show up in the Solution explorer:

**Actual Behavior**:
Resource file in shared project is not shown in the solution explorer.

NOTE:
**User Impact**:
Bad experience working with shared projects
Contributor guide
Assessment
This issue has not been assessed yet.