microsoft / msix-packaging

MSIX SDK
MIT License
963 stars 163 forks source link

Add explicit Use .NET step to Utils build pipeline #550

Closed florelis closed 1 year ago

florelis commented 1 year ago

The pipeline for the Utils package started failing when running the tests with error

##[error]Testhost process for source(s) 'D:\a\1\s\tools\utils\UtilsTests\bin\Release\net5.0\UtilsTests.dll' exited with error: You must install or update .NET to run this application.

I'm guessing that it is due to the installed version of .NET runtime in the agents changing so I'm trying adding an explicit step to install it. I'll see if the pipeline runs fine with this...