Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to install multiple versions of the same packages #891

Merged
merged 4 commits into from
Jan 15, 2025

Conversation

mkhomutov
Copy link
Member

No description provided.

public static class IPackageInstallationServiceExtensions
{
[Time]
public static async Task<InstallerResult> InstallAsync(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change and requires recompilation of the app.

@@ -0,0 +1,17 @@
namespace Orc.NuGetExplorer.Models;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove .Models

{
// Track packages which already installed and make sure only one version of package exists
var resolver = new Resolver.PackageResolver();
availablePackagesToInstall = await resolver.ResolveWithVersionOverrideAsync(resolverContext, project, DependencyBehavior.Ignore,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency behavior is changed here, which is not good

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, sorry
forgot to change it back

@mkhomutov
Copy link
Member Author

Thanks for review guys

@mkhomutov mkhomutov merged commit 04aae21 into develop Jan 15, 2025
3 checks passed
@mkhomutov mkhomutov deleted the feature/allow_multiple_versions branch January 15, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants