Skip to content

Commit a4856e9

Browse files
authored
fix(core): Fix dotnet version check to allow .NET 7.0 (#24467)
Fix dotnet version check to allow .NET 7.0 Closes #24466. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 3e2f05b commit a4856e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-build-prerequisites.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ app_min="6.0.100"
127127
check_which $app $app_min
128128
app_v=$(${app} --list-sdks)
129129
echo -e "Checking dotnet version... \c"
130-
if [ $(echo $app_v | grep -c -E "6\.[0-9]+\.[0-9]+") -eq 1 ]
130+
if [ $(echo $app_v | grep -c -E "[67]\.[0-9]+\.[0-9]+") -eq 1 ]
131131
then
132132
echo "Ok"
133133
else

0 commit comments

Comments
 (0)