Skip to content

[beta10] Main Package should not be installed before dependent packages succeed #251

Open
@JustinGrote

Description

@JustinGrote

Steps to Reproduce

  1. Install-PSResource Az.Compute -Verbose
  2. Press ctrl-c to simulate a failure after az.compute has been installed
  3. Try importing az.compute, it will fail because dependent module Az.Accounts is not present

Recommended Resolution

Install dependent packages before installing the main package.

Further, why not just use Nuget's already very robust dependency handling and resolution rather than rolling a separate solution for PSGet? This article referenced from MS documentation explains some very good and high performance ways to go about that and I would have expected this module to basically ape this procedure:

https://martinbjorkstrom.com/posts/2018-09-19-revisiting-nuget-client-libraries

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions