Build error: Rectange not found

Trying to build SampleBrowser.Maui.Core
WrapLayout.cs

protected override Size ArrangeOverride(Rectangle bounds)


2 Replies

DE DevOxando March 26, 2022 07:52 PM UTC

I cloned the Repo from https://github.com/syncfusion/maui-demos

On build i get the  error.

Severity Code Description Project File Line Suppression State

Error CS0246 The type or namespace name 'Rectangle' could not be found (are you missing a using directive or an assembly reference?) SampleBrowser.Maui.Core (net6.0), SampleBrowser.Maui.Core (net6.0-android), SampleBrowser.Maui.Core (net6.0-ios), SampleBrowser.Maui.Core (net6.0-maccatalyst), SampleBrowser.Maui.Core (net6.0-windows10.0.19041) C:\Users\i0046\source\repos\sf-maui-demos\SampleBrowser.Maui.Core\Controls\WrapLayout\WrapLayout.cs 64 Active




SS Suganya Sethuraman Syncfusion Team March 28, 2022 05:54 AM UTC

Hi DevOxando,

There are new breaking changes in Microsoft's latest .NET MAUI preview 14 updates, which came with the VS 2022 version 17.2.0. Preview version 2.0 [Release 6.0.200-preview.14.2 · dotnet/maui (github.com)]. Based on these breaking changes, we will provide .NET MAUI preview 14 compatibilities in our Volume 1 2022 release, which will be available by the end of this month. Our sample browser also will be updated to .NET MAUIpreview 14 compatible.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon