Skip to content

PS 7.3.x is using a prerelease version of System.Security.AccessControl #19930

Description

Prerequisites

Steps to reproduce

This is causing problems when we try to build the .NET API docs because you can load a pre-release dependency in a release product. This is only affecting publishing for 7.3. We don't have this problem with 7.2.x or 7.4.x.

I talked with Aditya Patwardhan (@adityapatwardhan) about this. He said it was a backport regression in 7.3.

Expected behavior

See above.

Affected code is can be found here: https://github.com/search?q=repo%3APowerShell%2FPowerShell%206.0.2-mauipre.1.22102.15&type=code

Actual behavior

n/a

Error details

The error from Nuget.exe for is:
"Unable to find a version of 'System.Security.AccessControl' that is compatible with 'System.Management.Automation 7.3.5 constraint: System.Security.AccessControl (>= 6.0.2-mauipre.1.22102.15)'."

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.5
PSEdition                      Core
GitCommitId                    7.3.5
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions