Xamarin.Android.Bindings.targets was not found
when running the following command on a xamarin.android class library project
dotnet pack --configuration Release
I am facing following issue
MSBuild version 17.3.0+92e077650 for .NET /Users/faizan/Projects/Upwork/NearpayXamarin/nearpay-xamarin-android-sdk/nearpay-xamarin-android-sdk.csproj(130,3): error MSB4019: The imported project "/usr/local/share/dotnet/x64/sdk/6.0.400/Xamarin/Android/Xamarin.Android.Bindings.targets" was not found. Confirm that the expression in the Import declaration "/usr/local/share/dotnet/x64/sdk/6.0.400//Xamarin/Android/Xamarin.Android.Bindings.targets" is correct, and that the file exists on disk.
Help required!