Don't fail the build when dotnet-install logs errors from curl
authorSteve Pfister <steve.pfister@microsoft.com>
Wed, 9 Mar 2022 17:13:58 +0000 (12:13 -0500)
committerSteve Pfister <steve.pfister@microsoft.com>
Wed, 9 Mar 2022 17:13:58 +0000 (12:13 -0500)
src/libraries/workloads-testing.targets

index 3c0f162783bced5c063d596766985daffef0d751..1534b53dece3f1b10126d74433c1e54f5b82205f 100644 (file)
@@ -46,6 +46,7 @@
                   Condition="!Exists($(_DotNetInstallScriptPath))"/>
 
     <Exec Condition="!$([MSBuild]::IsOSPlatform('windows'))"
+          IgnoreStandardErrorWarningFormat="true"
           Command="chmod +x $(_DotNetInstallScriptPath); $(_DotNetInstallScriptPath) -i $(SdkWithNoWorkloadForTestingPath) -v $(SdkVersionForWorkloadTesting)" />
 
     <Exec Condition="$([MSBuild]::IsOSPlatform('windows'))"