'Error trying to publish a Xamarin WPF app using Microsoft.Azure.Cosmos Nuget package

I am trying to publish an app to the Microsoft App Store using VS2022. When I run the Windows App Certification Kit against my app, I get the following errors:

enter image description here

I have checked the Compile with .Net native tool chain checkbox which is one of the suggestions to fix the error. I am using the Net Standard Library 2.0.3

Anyone have an idea on how to fix this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source