Skip to content

System.Management.Automation 7.3.1 depends on a missing nuget package #18782

Closed
@daviddenis-stx

Description

@daviddenis-stx

Prerequisites

Steps to reproduce

Building a project dependent on System.Management.Automation 7.3.1 will complain about missing System.Runtime.CompilerServices 7.0.0-preview.3.22119.2 (which is not pushed to nuget.org at the time of writing this, only preview.2 is). It's perhaps transient ?

A quick workaround is to add https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v2 to your NuGet.Config

Expected behavior

Should find the dependant System.Runtime.CompilerServices.Unsafe package, and build correctly

Actual behavior

error NU1102: Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 7.0.0-preview.3.22119.2)
error NU1102:   - Found 58 version(s) in nuget-org [ Nearest version: 7.0.0-preview.2.22152.2 ]

Error details

No response

Environment data

7.3.1

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-FixedThe issue is fixed.WG-DevEx-SDKhosting PowerShell as a runtime, PowerShell's APIs, PowerShell Standard, or development of modules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions