Skip to content

Wrong .net core sdk version check #1111

@ThibaultGrg

Description

@ThibaultGrg

Description

I tried to run the New-AWSPowerShellLambdaPackage function which is using function _validateDotnetInstall, I have .net core 3.1 installed but receive the following error:

"The installed .NET Core SDK does not meet the minimum requirement to build the PowerShell Lambda package bundle. Download
the .NET Core 3.1 SDK from https://www.microsoft.com/net/download"

Turns out that the code in this function checks the current version against the version 6 of the .net core sdk and throws the above error message if it is below 6 (at line 604)

Resolution

Just set back the line 604 to content before latest merge ($minVersion = [System.Version]::Parse('3.1.100')), it used to correctly compare the current version against version 3.1 until the last branch.

Thank you!


This is a 🐛 bug-report

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.module/lambda-client-libpending-releaseThis issue will be fixed by an approved PR that hasn't been released yet.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions