question

satishmaddili-7143 avatar image
0 Votes"
satishmaddili-7143 asked KyleWang-MSFT commented

Error XLS0415 The attachable property 'AbsoluteLayout' was not found in type 'StackLayout' in xamarin forms 5.0

I am getting above error while upgrding xamarin forms 2.5.0 to xamarin forms 5.0

dotnet-xamarin
· 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.

@satishmaddili-7143 The "AbsoluteLayout" works fine in my test. Try to delete the "bin" and "obj" folder under project folder, then clean and rebuild the project.

 <StackLayout>
     <AbsoluteLayout VerticalOptions="FillAndExpand"  
             HorizontalOptions="FillAndExpand">
         <Label Text="hello world"/>
     </AbsoluteLayout>
 </StackLayout>
0 Votes 0 ·

@satishmaddili-7143 Has the problem been solved? If not, you can feedback here.

0 Votes 0 ·

0 Answers