You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App developer uses package Foo that is supported on Windows and Linux
Another developer added support for macOS and iOS. They uploaded the package under the name Bar.Foo.
App developer changes some configuration that instructs NuGet to replace Foo, Version=X with Bar.Foo, Version=Y.
This would assume that the Bar.Foo package contains binaries that are binary/runtime compatible with the binaries contained in Bar.
The only work here is changes to the way NuGet resolve the package graph for this project (and its closure)
This useful when packages are discontinued or additional features/platform support is added by another part. This puts the NuGet ecosystem on part with source-based distribution models.
The text was updated successfully, but these errors were encountered:
terrajobst
changed the title
As a package consumer, I can replace a package in my graph with a different ID and version
User Story: As a package consumer, I can replace a package in my graph with a different ID and version
Jan 20, 2021
Package Foo, v2 ships with a breaking change from Foo, v1.
Package Dependee2 references Foo, v2
App MyApp references Dependee1 and Dependee2, and the application is broken because Dependee1 needs Foo, v1 but it gets Foo, v2.
The developer of MyApp has the ability to patch Foo, v2 to fix the breaking change made from Foo, v1 in order to keep Dependee1 working correctly.
If the breaking change from Foo, v1 to Foo, v2 was a major API redesign, then of course this wouldn't be feasible for the developer of MyApp to fix. But if the breaking change was minor, this could unblock the app.
The scenario is:
Foo
that is supported on Windows and LinuxBar.Foo
.Foo, Version=X
withBar.Foo, Version=Y
.Bar.Foo
package contains binaries that are binary/runtime compatible with the binaries contained inBar
.This useful when packages are discontinued or additional features/platform support is added by another part. This puts the NuGet ecosystem on part with source-based distribution models.
The text was updated successfully, but these errors were encountered: