First published on MSDN on Oct 25, 2018
I got the error "Invalid value for property" while setting background-color to a Hex representation of the color and while setting Font Size to a double number. I have observed this especially while working with older Xamarin projects.
I could resolve this issue by updating the Xamarin.Forms nuget package .
To update the nuget package :
Right click on the Solution and Go to "Manage Nuget Packages"(Or go to Project menu > Manage Nuget Packages).
Under "Update" tab, you will see a list of nuget packages for which latest versions are available and Xamarin.Forms nuget will be one of them.
As soon as I updated this nuget package, the "“Invalid Property Value” error disappeared.
I got the error "Invalid value for property" while setting background-color to a Hex representation of the color and while setting Font Size to a double number. I have observed this especially while working with older Xamarin projects.
I could resolve this issue by updating the Xamarin.Forms nuget package .
To update the nuget package :
Right click on the Solution and Go to "Manage Nuget Packages"(Or go to Project menu > Manage Nuget Packages).
Under "Update" tab, you will see a list of nuget packages for which latest versions are available and Xamarin.Forms nuget will be one of them.
As soon as I updated this nuget package, the "“Invalid Property Value” error disappeared.
Updated Nov 22, 2022
Version 6.0harshada2019
Microsoft
Joined December 19, 2018
Modern Work App Consult Blog
Follow this blog board to get notified when there's new activity