question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow runtime packs to be resolved from the packs folder

See original GitHub issue

For targeting packs, the SDK first checks if they are in the dotnet packs folder. If they are it uses them from there, otherwise it generates a PackageDownload item so that they will be downloaded to the packages folder as part of NuGet restore.

Currently, we don’t check for runtime packs in the packs folder. This is because we haven’t shipped any with the .NET SDK, as they are only used for self-contained apps and there are many different runtime packs for different RuntimeIdentifiers which represent different OS/architecture combinations.

For .NET 6, iOS and Android apps will need runtime packs, and the set of target RuntimeIdentifiers will be more limited. So they would like to deliver runtime packs as part of their optional SDK workloads.

This means we should update the SDK runtime pack resolution logic to first look in the dotnet packs folder and resolve from there if possible, before generating a PackageDownload item to download the runtime pack if necessary.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
marek-safarcommented, Feb 19, 2021
0reactions
wli3commented, Jul 8, 2021

note from workload meeting: This is a rather easy change. At the same time, not having the feature in not end of the world (use library pack with waste disk space). We should pick up this task after –architecture os work,

Read more comments on GitHub >

github_iconTop Results From Across the Web

There was no runtime pack for Microsoft.AspNetCore.App ...
I finally made it work. I did everything that guide said, except for the project file which I changed to this: <Project Sdk="Microsoft.NET....
Read more >
PackageReference in project files - NuGet
This will enable packages that those projects refer to, to be "transitively" referenced by your project. PackageReference and sources. In ...
Read more >
Resolved - Gets 2 errors while creating new project
Am I missing some .net runtime modual? I get .net 5.0 and 6.0. Error: An assembly specified in the application dependencies manifest (Microsoft....
Read more >
Managing Run-Time Environment
With the Select Packs button you can select specific Software Packs that are used for a project target. RTE button When a new...
Read more >
Unable to resolve dependencies of NuGet packages
Delete all packages from the packages folder, located in your project's folder. Reinstall Telerik.Sitefinity.All to the desired version. Rebuild the project.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found