[Solved] "The XamarinTelemetry task failed unexpectedly" on second build
Article
Mohit Mozumder
Problem:
While building my application in Visual Stdio I am facing the following error-
The "XamarinTelemetry" task failed unexpectedly.
Solution:
At first try to solve the issue by installing the most recent release of VS from https://visualstudio.microsoft.com/downloads/
IF its not working then try this temporary solution until they fixed it officially. Just comment out <XamarinTelemetry ... />
~ C:\Program Files\Microsoft Visual Studio\2022\Preview\Msbuild\Xamarin\Xamarin.Sdk.targets
~ Comment out the <XamarinTelemetry ... />
Save file and rebuild the solution.
Thank you for reading the article. If you face any further problem feel free to contact with us.