I created some 'Resource.Dimension' resource but Visual Studio 2017 intellisense can't recongize it. Underline all dimension resources in my cs code with the error:
`Resource.Dimension` does not contain a definition for...
Intellisense offer me only standard dimensions properties.
Create a blank Xamarin.Android project
Add dimens value in Resources\values\dimens.xml
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<dimen name="fab_margin">16dp</dimen>
<dimen name="main_text_item_size">17dp</dimen>
</resources>
var a = Resources.GetDimension(Resource.Dimension.fab_margin);
Without intellisense error
Has intellisense error but could run application without a problem and problem persists.
Tried clean solution, delete bin&obj folder, problem exists. And I could found Resource.Dimension resource in Resource.Designer.cs file:
VS bug #628467
@jonpryor , in which version of Xamarin.Android this bug will be fixed? :)
Most helpful comment
@jonpryor , in which version of Xamarin.Android this bug will be fixed? :)