Skip to content

PKGProj referencing a project that only specifies TargetFramework doesn't work. #7242

@ericstj

Description

@ericstj

I noticed this when looking at the Logging generator.

The generator only targeted <TargetFramework>netstandard2.0</TargetFramework>.

This caused

to miss the single TargetFramework and silently drop the ProjectReference from the package.

Not sure if we should fix this with pkgproj going away, but it was pretty bad that it silently dropped. We should either error or handle the single $(TargetFramework).

cc @maryamariyan

Metadata

Metadata

Assignees

Labels

area-Infrastructure-librariesArea maintained by .NET libraries team: APICompat, AsmDiff, GenAPI, GenFacades, PkgProj, etchelp wanted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions