dotnet / dotnet/project-system
Show contentFiles from nuget packages in legacy project system
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
In the new project system, the static contentFiles from Nuget packages are linked and shown in the solution explorer.

The old project system should do the same.
Note that CommandStuff.cs is the only element from the package above the needs shown.
It's also marked as a link.
The example illustrates the difference in 15.7 P3.
ClassLibrary1 is legacy, ClassLibrary39 is SDK csproj.
Additionally it's important that these files are read-only.
Related issue to make them read-only in new project system - https://github.com/dotnet/project-system/issues/2141
As more and more people are moving their projects as part of the effort in https://github.com/NuGet/Home/issues/5877, this becomes more and more important.
//cc @rrelyea @anangaur @davkean
Contributor guide
Assessment
This issue has not been assessed yet.