question

GordonS-9701 avatar image
0 Votes"
GordonS-9701 asked BrianVanBeek-3150 commented

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

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?

dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLu-MSFT avatar image
0 Votes"
LeonLu-MSFT answered BrianVanBeek-3150 commented

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.



image.png (142.9 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the solution - but I've decided to rollback to Xamarin Forms 5.0.0.2012 instead, as I have no specific requirement for the latest Xamarin Forms and I'd rather not install a first Preview version of a package.

I'll keep an eye out for when Xamarin.CommunityToolkit is fully released.

1 Vote 1 ·

Yeah, i agree. Using a preview / pre-release is not actually a solution.

0 Votes 0 ·