Skip to content

Platform Manifest in ASP.NET Core targeting pack should use the targeting pack package name #13108

@dsplaisted

Description

@dsplaisted

In the ASP.NET Core targeting pack (Microsoft.AspNetCore.App.Ref), there is a data/PlatformManifest.txt file which includes assembly and file versions for the contents of the targeting pack. This is an optimization so that the files don't need to be read from disk to get these versions for conflict resolution. The format looks like this:

aspnetcorev2_inprocess.dll|Microsoft.AspNetCore.App||13.0.19219.0
Microsoft.AspNetCore.Antiforgery.dll|Microsoft.AspNetCore.App|3.0.0.0|3.0.19.40702
Microsoft.AspNetCore.Authentication.Abstractions.dll|Microsoft.AspNetCore.App|3.0.0.0|3.0.19.40702

The second element is interpreted as the package name. This should be updated to match the targeting pack package name, or Microsoft.AspNetCore.App.Ref. As it is currently, the versions from the platform manifest aren't being used by conflict resolution, as it thinks they apply to files from a different package name.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions