Skip to content

Redistributable NuGet package isn't restored when listed as package dependency #822

@abeltrano

Description

@abeltrano

Describe the bug

When listing the redist NuGet package as a dependency of another NuGet package in a .nuspec file per example content below:

<group targetFramework="native0.0">
  <dependency id="XDP-for-Windows-Runtime.x64" version="1.1.0" />
</group>  

The dependent package does not have XDP-for-Windows-Runtime.x64 listed as a dependency. This is due to the package not containing any content that targets the native target framework moniker (TFM). The package must contain at least one item group that specifies the native TFM, otherwise the dependency is silently ignored as the tooling doesn't detect any matching content.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions