dotnet / dotnet/project-system

Show contentFiles from nuget packages in legacy project system

Open
#3,431 7 comments 3 reactions 0 assignees View on GitHub
Legacy Triage-Approved
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.

![oldvsnewcsproj](https://user-images.githubusercontent.com/2878341/38118064-42d8e704-336d-11e8-96e8-bc95892b1b6e.png)

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

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.