You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Tell us what should happen
I log in with an online service and get the token
Actual behaviour
After installing the xamarin.auth nuget package, i tried to compile the project but it says:
Error MSB4062: non è stato possibile caricare l'attività "Xamarin.Android.Support.BuildTasks.VerifyVersionsTask" dall'assembly /Users/alex/.nuget/packages/xamarin.android.support.annotations/28.0.0.1/build/monoandroid90/Xamarin.Android.Support.BuildTasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Verificare che la dichiarazione sia corretta, che l'assembly e tutte le relative dipendenze siano disponibili e che l'attività contenga una classe pubblica che implementa Microsoft.Build.Framework.ITask. (MSB4062)
Tell us what happens instead
Can you also include a screen shot?
The text was updated successfully, but these errors were encountered:
This seems to be only an issue with the 1.7.0 version of the package.
Steps to Replicate (Using Visual Studio 2022)
Create Android Application
Add NuGet Package Xamarin.Essentials version 1.8.1
Add NuGet Package Xamarin.AndroidX.Arch.Core.Runtime version 2.2.0.6
Add NuGet Package Xamarin.Auth version 1.7.0.
After the auto build completes, the error MSB4044 The "VerifyVersionsTask" task was not given a value for the required parameter "TargetApiLevel". is returned.
Down-grading Xamarin.Auth to version 1.6.0.4 resolves the error.
I have now migrated from Xamarin to .NET SDK format so I have to forcefully remove Xamarin.Auth nuget from the project and use Microsoft.Identity.Client
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Xamarin.Auth Issue
IF BUG, INCLUDE THIS PART:
Version
Steps to reproduce
Platform:
Expected behaviour
Tell us what should happen
I log in with an online service and get the token
Actual behaviour
After installing the xamarin.auth nuget package, i tried to compile the project but it says:
Error MSB4062: non è stato possibile caricare l'attività "Xamarin.Android.Support.BuildTasks.VerifyVersionsTask" dall'assembly /Users/alex/.nuget/packages/xamarin.android.support.annotations/28.0.0.1/build/monoandroid90/Xamarin.Android.Support.BuildTasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Verificare che la dichiarazione sia corretta, che l'assembly e tutte le relative dipendenze siano disponibili e che l'attività contenga una classe pubblica che implementa Microsoft.Build.Framework.ITask. (MSB4062)
Tell us what happens instead
Can you also include a screen shot?
The text was updated successfully, but these errors were encountered: