[tests] Ignore output that looks like errors when installing .NET on Windows. (#21430)

Just trust the exit code instead.

This way the installation doesn't fail due to random output.
This commit is contained in:
Rolf Bjarne Kvinge 2024-10-15 09:25:21 +02:00 коммит произвёл GitHub
Родитель a10899ef62
Коммит 59b6a6119d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -171,6 +171,7 @@
Command=""$(DotNetToolPath)" workload install %(_WorkloadIds.Identity) --skip-manifest-update --verbosity diag --temp-dir "$(DotNetTempDirectory)" --configfile "$(MacIosRootDirectory)NuGet.config" --skip-sign-check"
WorkingDirectory="$(MSBuildThisFileDirectory)"
EnvironmentVariables="DOTNET_MULTILEVEL_LOOKUP=0"
IgnoreStandardErrorWarningFormat="true"
/>
<Touch Files="$(DotNetPacksDirectory).stamp" AlwaysCreate="true" />
</Target>