dotnet / dotnet/sdk

[10.0 RC 2] PackageDownload received another item

Open
#51,358 0 comments 0 reactions 1 assignee Claimed by @dsplaisted View on GitHub
Area-NetSDK untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Describe the bug
This _looks_ like a bug, as my tests started failing with the new RC (previously .NET 9).

### To Reproduce

```


net9.0
false




```

Now I'm getting another package from `project.assets.json`:

```
var packageDownloads = json.SelectTokens($"$.project.frameworks.{framework}.downloadDependencies[*]")
.Select(x => x.ToObject()!)
.SelectMany(x =>
from version in x.Property("version")!.Value.ToString().Split(';')
let id = x.Property("name")!.Value.ToString()
select (Id: id, VersionRange: VersionRange.Parse(version))).ToList();
```

Image

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.