Skip to content

Remove workaround for use pre-release of .NET 5 RTM build #13974

@adityapatwardhan

Description

@adityapatwardhan

To use the pre-release version of .NET 5 RTM builds a workaround had to be added to build.psm1

PowerShell/build.psm1

Lines 1775 to 1778 in 201f4a6

# Temporary workaround to consume .NET 5 pre-release RTM build
if ($Version -eq '5.0.100') {
$Version = '5.0.100-rtm.20526.5'
}

Please remove this when .NET 5 is released.

Also,

remove the RTM feed from the nuget.config:

<add key="dotnet5-rtm" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/5.0.100-rtm.20526.5/nuget/v3/index.json" />

Steps to reproduce

Expected behavior


Actual behavior


Environment data


Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Maintainers-Buildspecific to affecting the buildIssue-Code Cleanupthe issue is for cleaning up the code with no impact on functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions