I am attempting to use Syncfusion with a .NET MAUI project that I am working on, but Visual Studio for Mac preview can not find the namespace for Syncfusion while in the Android context. The iOS and Maccatalyst contexts are able to find the namespace just fine. Similarly, adding Syncfusion to a page's XAML produces a similar error. This is using .NET 7.0.
STEPS TO REPRODUCE:
Create a new .NET MAUI project in the latest Visual Studio for Mac preview.
Go into the NuGet packages and add Syncfusion.Maui.Core.
Attempt to add "using Syncfusion.Maui.Core.Hosting;" to the top of the MauiProgram class as well as attempt to use the builder.ConfigureSyncfusionCore(); method.
Note the errors produced by Visual Studio while in the Android context, but switching to the iOS or Maccatalyst context produces no errors.
EDIT: The app seems to have no issue compiling and running on Android, could there be an issue with Visual Studio for Mac preview?
VVVijayakumar Viswanathan Syncfusion Team February 14, 2023 05:52 PM UTC
Thanks for contacting Syncfusion support.
We were unable to reproduce the reported scenario. We thoroughly tested using both the provided sample and our own, while following your replication procedure. We have attached a video for your reference, along with the details of the Visual Studio for Mac preview version. If the issue still persists, please provide any additional information that may help us to assist you better.
Visual studio Version: Visual Studio Community 2022 for Mac Preview