dotnet / dotnet/wpf

Ensure NuSpecs for transport packages conform to NuGet guidance

Open
#2,139 0 comments 0 reactions 0 assignees View on GitHub
area-infrastructure Bug
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

While creating https://github.com/dotnet/wpf/pull/2138, we ran into NU5128 and NU5131.

According to NuGet guidance, we should be creating a reference group for all of our reference DLLs ([see here](https://docs.microsoft.com/en-gb/nuget/create-packages/select-assemblies-referenced-by-projects)).

This should fix both warnings.

NU5128
```
Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location.
```

NU5131
```
References were found in the nuspec, but some reference assemblies were not found in both the nuspec and ref folder.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.