Add ability to preempt nuget search with local folder ('NuGetPrefetchFolder') #12515
Labels
Functionality:Restore
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Type:Feature
NuGet Product(s) Involved
NuGet SDK
The Elevator Pitch
Idea brainstormed by @zivkan
For manuall or automated ways of testing multi-project changes, that are tight together via PackageReference (e.g. project A, references project B as nuget, while developer needs to perform orchestrated change to both) the existing functionality of
NuGetFallbackFolder
might be tweaked and reused for easy testing of validity of the nuget package without the need to 'hacking' nuget cache.NuGetPrefetchFolder
(that one would not get synced to global cache - same asNuGetFallbackFolder
)NuGetPrefetchFolder
first and get package from there if availableNuGetPrefetchFolder
)If functionality of
NuGetFallbackFolder
would be reused, then possibly a CLI support for equivalent ofnuget add
would need to be added - in order to be able to unzip and push a local nuget to local folder in v3 layout.Other question is the location of
NuGetPrefetchFolder
- is it fixed or configurable via packages.config? It needs to be per 'build-bundle', not global to the machine - as we want to avoid 'poisoning' of nugets for unrelated buildsAdditional Context and Details
No response
The text was updated successfully, but these errors were encountered: