Redth / Xamarin.Binding.Helpers

MSBuild Tasks to help with Binding projects for Xamarin Android and iOS
MIT License
41 stars 7 forks source link

Error: Your project has references to older NuGet package references and requires updates. #2

Open ladoleste opened 2 years ago

ladoleste commented 2 years ago

I've tried to setup two projects. The first one is a very simple project (an Android Studio hello world) and I get the following message on the vsmac

~/.nuget/packages/xamarin.binding.helpers/0.1.0-ci516977228/buildTransitive/Xamarin.Binding.Helpers.Android.targets(3,3): Error: Your project has references to older NuGet package references and requires updates. Please update the following packages to the versions listed:

But no version is listed

The second one e more complex projeto I'm working on and I get the following message:

~/.nuget/packages/xamarin.binding.helpers/0.1.0-ci516977228/buildTransitive/Xamarin.Binding.Helpers.Android.targets(3,3): Error: No Android Studio project outputs or dependency artifacts were detected. Review the documentation to ensure you correctly applied the Xamarin Binding Helpers gradle plugin to your Android Studio Project module's build.gradle file.

But the plugin is there.

All tools and libs on the latest version

F-Goncalves commented 1 year ago

There is a typo in the Target that causes the output to be empty. I recommend checking the file obj//xbh/_xbhsuggestandroid.json You can see the suggested NuGet versions there and compare to your PackageReferences