The NuGet package assets are not considered correctly when developer dependencies are excluded.
The following assets are considered to have "runtime" dependency:
LibraryIncludeFlags.Runtime,
LibraryIncludeFlags.Native,
LibraryIncludeFlags.ContentFiles
Upon generating the dependencies without the developer dependencies (only availabe at build, but not at runtime) the dependencies are not calculated correctly.
Expected outcome:
As the Microsoft.Extensions.Logging is excluded fully, this will be just a developer dependency, and also it's transitive dependencies must not be shown as well. Also the build output folder and the default publish folder and the possibly generated NuGets package are not containing those NuGets and not referencing them.
The NuGet package assets are not considered correctly when developer dependencies are excluded.
The following assets are considered to have "runtime" dependency:
Upon generating the dependencies without the developer dependencies (only availabe at build, but not at runtime) the dependencies are not calculated correctly.
Example project file:
Expected outcome: As the Microsoft.Extensions.Logging is excluded fully, this will be just a developer dependency, and also it's transitive dependencies must not be shown as well. Also the build output folder and the default publish folder and the possibly generated NuGets package are not containing those NuGets and not referencing them.