Detected package version outside of dependency constraint after updaing Xamarin.Forms

Gordon S 501 Reputation points
2021-08-04T08:43:43.843+00:00

I have updated to the latest version of Xamarin Forms (5.0.0.2083), as well as updating all othe Nuget packages. However, I now get this warning message in Dependencies -> Packages -> Xamarin.Forms:

Detected package version outside of dependency constraint: Xamarin.CommunityToolkit 1.2.0 requires Xamarin.Forms (>= 5.0.0.1874 && <= 5.0.0.2012) but version Xamarin.Forms 5.0.0.2083 was resolved.

The solution still seems to compile OK and the app seems to run OK, but how do I fix / remove this warning?

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-08-05T01:14:27.847+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    Please check the include prelease, then update your Xamarin.CommunityToolkit version to 1.3.0-pre1( this version will support xamarin forms 5.0.0.2083), this warning will disappear.

    120661-image.png

    Best Regards,

    Leon Lu


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

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.