Jun 07 2021 07:19 AM
Is anyone else using Azure Devops Pipelines to create their MSIX?
Starting 27th May as the Build Agent pool started to update to the latest image are MSIX build pipeline started to fail on MSIX Build and Package task. As of last week we have a 100% failure rate.
I've reported it as an issue here but I'm surprised not to see more people reporting it as an issue. I've tried it with two different solutions and get the same result with both.
The error is "error NETSDK1004: Assets file 'D:\a\8\s\xxxxxx.Packager\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [D:\a\8\s\xxxxxx.Packager\xxxxxxx.Packager.wapproj]."
Running the same command line with the latest version of MSBuild locally is fine.
Jun 15 2021 03:21 PM
@JulesB Please add a Nuget Restore task to your pipeline to fix this issue. The MSIX Packaging build task does not do that automatically.
Jun 16 2021 01:08 AM