microsoft / msix-packaging

MSIX SDK
MIT License
963 stars 163 forks source link

Update Utils test project to .NET6 #555

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.

The ultimate reason seems to be that since .NET 5 is no longer supported, the pipelines don't like it anymore. The solution was to update the test project to .NET 6; luckily no changes were required.

Replaces #550. This time I could actually confirm that the pipeline works correctly by making the branch in the official repo...