-
Notifications
You must be signed in to change notification settings - Fork 764
Description
It looks like the test suite is having issues targeting .NET5 for Window on Azure DevOps. Multiple recent PRs have failed on the .NET5 build with the following (example link)
========================================
TestNetStandard20 on net5.0
========================================
##[error]Unable to process command '##vso[results.publish type=NUnit;mergeResults=true;config=Release;runTitle='net5.0/Windows';publishRunAttachments=true;]' successfully. Please reference documentation (http://go.microsoft.com/fwlink/?LinkId=817296)
The build output indicates that .NET5 isn't installed by default, and the image documentation supports this (https://github.com/actions/runner-images/blob/main/images/win/Windows2019-Readme.md#net-core-tools)
The Linux and MacOS builds appear fine since it seems we install the runtime as part of the build. While normally we may consider manually installing it on the Windows image too, .NET5 has been out of support by Microsoft for about 9 months, since May 10, 2022 (https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core). We should consider if we should explicitly target it on the Windows build or, perhaps, to instead remove it as a test suite target.
Any change here would need to be included in both main + v3.13 branches