Skip to content

Microsoft.NETFramework.ReferenceAssemblies is not marked as PrivateAssets=All #11407

@andrew-boyarshin

Description

@andrew-boyarshin

I've spent some time fine-tuning SharpGen.Runtime dependency graph and there is one unexpected public dependency for 4.7.1.
NuGet Package Explorer

Design spec mentiones that:

The reference assembly packages should not show up as dependencies of "normal" packages. Thus, the reference assembly packages should set developmentDependency to true in it's metadata. Likewise, when the .NET SDK automatically references the reference assembly metapackage, it should use PrivateAssets="All".

But the implementation in #10981 omitted the last part.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions