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
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