-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show contentFiles from nuget packages in legacy project system #3431
Comments
Why does globalpackagesfolder show up here? My understanding was the contents of the contentfiles folder show up in the solution explorer. |
@anangaur And new project system just imports/shows everything under the project folder. |
I guessed so but this makes the screenshot confusing. Can you clarify the following in the description?
|
One thing missing from how the new project system handles contentFiles is that it doesn't make them read-only, so if you edit them, you're editing the file from the NuGet package cache folder. When adding contentFiles support to the old project system, would it be possible to make them read-only from the initial implementation? |
Tom's triage notes: I recommend we close this. |
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 - #2141
As more and more people are moving their projects as part of the effort in NuGet/Home#5877, this becomes more and more important.
//cc @rrelyea @anangaur @davkean
The text was updated successfully, but these errors were encountered: