From e53d9ff800bab5e346e7776840fca351be2340c7 Mon Sep 17 00:00:00 2001 From: Shrinivas Sidral Date: Mon, 27 Jul 2026 15:03:09 +0530 Subject: [PATCH] Add blazorwasm-servicedefaults to dotnet11Templates and skip mcpserver for .NET 10 on ppc64le, s390x and arm --- template-test/test.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/template-test/test.sh b/template-test/test.sh index 17c4577..f7b3c4a 100755 --- a/template-test/test.sh +++ b/template-test/test.sh @@ -19,6 +19,7 @@ dotnet11Templates=( apicontroller blazor blazorwasm + blazorwasm-servicedefaults blazorwebworker buildprops buildtargets @@ -491,7 +492,13 @@ function testTemplate { echo "SKIP skipping webapiaot on ppc64/s390x/armv7" return fi - + + if [[ ( $(uname -m) == "s390x" || $(uname -m) == "ppc64le" || $(uname -m) == "armv7" || $(uname -m) == "armv8l" ) && ( "${templateName}" == "mcpserver" ) ]]; then + # mcpserver relies on Microsoft.NETCore.App.Runtime, which will not even restore on mono (ppc64le/s390x) and arm, skip it + echo "SKIP skipping mcpserver on ppc64/s390x/armv7" + return + fi + if [[ ${action} = project,* ]] ; then dotnet new console 2>&1 | tee "${templateName}.log" action=$(echo "${action}" | sed -E "s|project,||")