I\'m developing a mobile app and using MS App Center for CI. Yesterday the Unit Test project failed to build in App Center with the following error. I couldn\'t recreate the
I had this issue when building in Azure Devops and none of the other answers would fix it. My Build and Publish steps already had matching --runtime
options.
The fix for me turned out to be to add the following into the the .csproj
file (substitute the RuntimeIdentifier
with the correct one for your deployment scenario):
...
win-x64