Azure pipeline fails on upgrading "Xamarin.Essentials" package

Amalu Thomas 0 Reputation points
2024-04-02T07:15:10.71+00:00

Azure pipeline fails for android project after upgrading xamarin.essentails to 1.8.1.

<PackageReference Include="Xamarin.Essentials"><Version>1.8.1</Version>

</PackageReference>

Locally the project is building and image selection also work perfect.

This upgrade is required as select image and take photo is not working for android 13+.

Error: The type or namespace name 'Platform' does not exist in the namespace 'Xamarin.Essentials' (are you missing an assembly reference?)

Can some one suggest a solution.?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,348 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.